Ruminations on Udev, null and console

Bruce Dubbs bruce.dubbs at
Wed Feb 23 09:24:39 PST 2011

Simon Geard wrote:
> On Tue, 2011-02-22 at 22:38 -0500, Neal Murphy wrote:
>> [rant] Digressing a little, I have a bone to pick with Kay Seivers and Greg K-
>> H. Their attitude is that only symlinks should be used in /dev and created 
>> from udev rules (for the most part), and those symlinks may only be named with 
>> character sequences that are incomprehensible to ordinary humans.[/rant]
> Are you unaware then, that udev provides the /dev/disks/by-label
> directory, which contains volume labels as symlinks to the kernel-named
> devices? For example, my fstab file doesn't reference /dev/sda6 for
> the /home partition - it uses /dev/disk/by-label/home instead. 
> Likewise, /boot is mounted as /dev/disk/by-label/boot and the swap
> partition as /dev/disk/by-label/swap.

What am I missing?  My latest only has

$ ls /dev/disk
by-id  by-path  by-uuid

What do you get when you do something like 'df -h'?

Also, I like to see how my disk is organized.  I will do 'fdisk -l 
/dev/sda'  How would you do something like this?

   -- Bruce

More information about the lfs-support mailing list