init.d/udev

Jaime Buffery nestu at espresso.foo-projects.org
Wed Nov 24 10:46:01 UTC 2004


Altough I know it is a little awkward to answer myself, I will enjoy it :P
On Wed, Nov 24, 2004 at 09:33:23AM +0000, Jaime Buffery wrote:
> On Tue, Nov 23, 2004 at 11:34:52PM -0500, Benoit Valiron wrote:
> > Again about udev, I noticed that init.d/udev consider udev devices
> > installed in /udev. In particular, the script set udev_root just
> > after parsing /etc/udev/udev.conf, in which this variable is already
> > defined (in my case, as "/dev") :
> > 
> > ----- quote from init.d/udev ---------------
> > . /etc/udev/udev.conf
> > 
> > prog=udev
> > sysfs_dir=/sys
> > bin=/sbin/udev
> > udevd=/sbin/udevd
> > udev_root=/udev
> Okay, will fix.
I have changed so now the udev.conf settings are read _after_ these defaults.
> 
> > ----- end of quote ------------------------
> > 
> > This causes problem during the creation of stdout, stdin and stderr,
> > which are then created in /udev instead of /dev.
> The problem is that udev has been added to boot via chkconfig. Remove it.
I added an extra switch so [hopefully] udev nodes are not removed if udev is 
running under /dev. You will see a warning msg, but your nodes shouldn't be 
touched  - I want my nodes not to be touched be anyone I don't want, thank you 
very much ]:-)

Ciao,
nestu ;)))


More information about the Lunar mailing list