Hello.

Under /dev/disk, we find links that point to the devices
which "host" a filesystem. For example, suppose there's
a filesystem with the label "Home" and it's stored on
the LV called "Home" on the "sys" VG (ie. /dev/sys/Home).
We then find:

--($:~)-- ls -la /dev/disk/by-label/Home
lrwxrwxrwx 1 root root 21 15. Jun 2007  /dev/disk/by-label/Home -> 
../../mapper/sys-Home

Same for by-uuid, by-id and by-path (well, by-path is a 
bit different, but please disregard that for this question).
Eg.:

--($:~)-- ls -la /dev/disk/by-uuid/73780e0c-0e0b-4afb-8412-77efc2ad8222 
/dev/disk/by-id/dm-name-sys-Home 
lrwxrwxrwx 1 root root 21 15. Jun 2007  /dev/disk/by-id/dm-name-sys-Home -> 
../../mapper/sys-Home
lrwxrwxrwx 1 root root 21 15. Jun 2007  
/dev/disk/by-uuid/73780e0c-0e0b-4afb-8412-77efc2ad8222 -> ../../mapper/sys-Home

What "system" is creating those symlinks during boot?
Who is responsible for doing that? Is it udev? Or something
from util-linux?

Reason for this question: Plain old curiosity :) I see that
this works very well on Gentoo but doesn't work on other
distributions...

Best regards,

Alexander Skwar

-- 
[EMAIL PROTECTED] mailing list

Reply via email to