* [gentoo-user] What's creating symlinks in /dev/disk?
@ 2007-06-15 7:17 Alexander Skwar
2007-06-15 7:31 ` Dirk Heinrichs
0 siblings, 1 reply; 2+ messages in thread
From: Alexander Skwar @ 2007-06-15 7:17 UTC (permalink / raw
To: gentoo-user
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
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [gentoo-user] What's creating symlinks in /dev/disk?
2007-06-15 7:17 [gentoo-user] What's creating symlinks in /dev/disk? Alexander Skwar
@ 2007-06-15 7:31 ` Dirk Heinrichs
0 siblings, 0 replies; 2+ messages in thread
From: Dirk Heinrichs @ 2007-06-15 7:31 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 602 bytes --]
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: dirk.heinrichs@capgemini.com
Wanheimerstraße 68 | Web: http://www.capgemini.com
D-40468 Düsseldorf | ICQ#: 110037733
GPG Public Key C2E467BB | Keyserver: www.keyserver.net
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2007-06-15 7:37 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-06-15 7:17 [gentoo-user] What's creating symlinks in /dev/disk? Alexander Skwar
2007-06-15 7:31 ` Dirk Heinrichs
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox