Ruminations on Udev, null and console

Simon Geard delgarde at ihug.co.nz
Fri Feb 25 00:55:15 PST 2011


On Wed, 2011-02-23 at 14:41 -0500, Neal Murphy wrote:
> On Wednesday 23 February 2011 04:54:10 Simon Geard wrote:
> > 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.
> 
> You must be superhuman, able to memorize names like 485cc6bb-
> ef7f-44ca-91c4-55d884c4083e, 4e23b7e0-af66-45b3-b0c2-a5af31c14c1b, 
> 5e34b5db-1fa8-49e7-9250-fb95ea301579, 73B115E331E98B57, 
> 74fbc4cd-784e-49fc-8d24-ca51623ba15c, 965800A05800816B, bbde5991-
> c72e-424f-97eb-00acfba10aff, f3ab5997-5ecd-4486-ab86-4fd172d714ea, which 
> parritions they are and which HDs they belong to.

Huh? Who said anything about names like that? Sure, you can mount by
uuid if you really want, but I said by *label*. It doesn't seem
particularly superhuman to remember that /home is found
at /dev/disks/by-label/home.

Simon.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: <http://lists.linuxfromscratch.org/pipermail/lfs-support/attachments/20110225/870c2315/attachment.sig>


More information about the lfs-support mailing list