How do I deteremine my genuine device name

eigen

Diamond Member
Nov 19, 2003
4,000
1
0
I am prompted with this question. "If devfs is enabled (USEDEVFS=1), this must be specified as genuine devfs name."
In other words i cannot list it as /dev/hdax . I need to determine the listing for both /root (/dev/hda1)and /boot (/dev/hda2)
 

drag

Elite Member
Jul 4, 2002
8,708
0
0
Not sure what your asking for.

But the /dev/ names, irregardless of whether or not it's DevFS or just normal devices files have a major and minor device numbers that corrisponds to the hardware device.

Right now they are assigned staticly. Their numbers are coded into the kernel itself. Eventually they will be assigned dynamicly, but that's not for a long time from now.

Also DevFS has depreciated in the 2.6 kernel. It's going to be replaced by the userland uDev combined with the /sys directory.

You can find a listing of Major/Minor device numbers by looking at the documentation aviable in your kernel source tree. It's in Documentation/devices.txt