[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Puzzled by linux 2.6 and /dev



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Alan Chandler wrote:

> A few weeks ago I managed to install the kernel-images for linux 2.6, and
> at the same time removed devfsd (reading that it had been depreciated with
> 2.6)

Deprecated doesn't mean that it has been removed. From what I can see from
the kernel mailing list, it won't be removed until 2.7.
Anyways, how did you remove devfs?  It's not enough to just remove the
devfsd, you also probably have to put something like this in your append
list in lilo.conf:
devfs=nomount

> Even so, something (hotplug?) was overwriting the entries in /dev with
> valid
> links.  For instance I had manually made device nodes for hda, hda1 ...
> hda9 and then discovered that hda and the hda(n) entries that matched the
> partitions actaly on the disk were being changed to symlinks.

I suspect you hadn't disabled devfs yet.

> However, I have just reinstalled everything from scratch again - this time
> avoiding even installing devfsd - but installing a kernel-image-2.6.0 -1
> -k7
> nevertheless.  hotplug is also installed and /sys is also mounted.
> 
> But now I am not getting any devices being built automatically in /dev.

udev is responsible for creating the device list in 2.6.x.  The problem is
that not all the devices have been moved into the sysfs yet.  Meaning udev
won't detect them and create the device nodes.

Right now, if you want to remove devfs, it means you want to run your system
in the 'old' way, meaning static device nodes that you create.
 
- -- 
John L. Fjellstad
web: http://www.fjellstad.org/          Quis custodiet ipsos custodes
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)

iEYEARECAAYFAkAWs+4ACgkQkz0vhQtHHRigfACgsnHJwDlab1jgwDsPPawhHT82
stUAoImpAZ65/3eqUCN5REnhP/A5koIk
=Y2Ee
-----END PGP SIGNATURE-----



Reply to: