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

Re: [2.4.0] migration to devfs



To quote Stefan Nobis <stefan-ml@snobis.de>,
# No, but Andreas stated clearly that he don't want to use devfsd. And
the above
# are the internal names of devfs and the device drivers. The other
names like
# /dev/discs/disc0 and the like are the user friendly naming scheme
which is
# brought to you with devfsd. So if you don't use devfsd you don't get
the new,
# shorter names but only the very long internal names (which are
deprecated to
# use).

Incorrect; on my system, the shortened names exist without devfsd.
Observe:

[root@david /home/david]# ps aux | grep devfs | grep -v grep
[root@david /home/david]# mount -t devfs none /dev
[root@david /home/david]# ps aux | grep devfs | grep -v grep
[root@david /home/david]# ls /dev/discs/
total 0
lr-xr-xr-x    1 root     root           30 Dec 31  1969 disc0 ->
../ide/host0/bus0/target0/lun0
lr-xr-xr-x    1 root     root           30 Dec 31  1969 disc1 ->
../ide/host0/bus1/target1/lun0
[root@david /home/david]# ps aux | grep devfs | grep -v grep
[root@david /home/david]# 

Tada :) They do exist. It's still longer than '/dev/hda1', but
'/dev/discs/disc0/part1' isn't all that bad.

Dave



Reply to: