[gentoo-user] What's creating symlinks in /dev/disk?

2007-06-15 Thread Alexander Skwar
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



Re: [gentoo-user] What's creating symlinks in /dev/disk?

2007-06-15 Thread Dirk Heinrichs
Am Freitag, 15. Juni 2007 schrieb ext Alexander Skwar:

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

udev, of course :-) (60-persistent-storage.rules).

Bye...

Dirk
-- 
Dirk Heinrichs  | Tel:  +49 (0)162 234 3408
Configuration Manager   | Fax:  +49 (0)211 47068 111
Capgemini Deutschland   | Mail: [EMAIL PROTECTED]
Wanheimerstraße 68  | Web:  http://www.capgemini.com
D-40468 Düsseldorf  | ICQ#: 110037733
GPG Public Key C2E467BB | Keyserver: www.keyserver.net


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