On Fri, 2011-02-25 at 22:12 -0600, Bruce Dubbs wrote:
> I suspect you have to add -L volume-label to mke2fs (or other partition 
> formatting tool) for at least one partition for by-label to be created.

Ah, yes, that makes sense - if the directory is created by the presence
of symlinks within it, then it won't be present unless you have labeled
volumes present. My root partitions don't have labels, for example, and
so aren't listed...

For interest, the directory looks something like:

$ ll /dev/disk/by-label/
total 0
lrwxrwxrwx 1 root root 10 Feb 28 18:07 boot -> ../../sda1
lrwxrwxrwx 1 root root 10 Feb 28 18:07 home -> ../../sda6
lrwxrwxrwx 1 root root 10 Feb 28 18:07 oldboot -> ../../sdb1
lrwxrwxrwx 1 root root 10 Feb 28 18:07 oldhome -> ../../sdb7
lrwxrwxrwx 1 root root 10 Feb 28 18:07 swap -> ../../sda2

Simon.

Attachment: signature.asc
Description: This is a digitally signed message part

-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

Reply via email to