]> git.ozlabs.org Git - petitboot/commit
Create uuid and label symlinks when mounting devices
authorJeremy Kerr <jk@ozlabs.org>
Mon, 7 Jan 2008 10:25:22 +0000 (21:25 +1100)
committerJeremy Kerr <jk@ozlabs.org>
Mon, 7 Jan 2008 10:25:22 +0000 (21:25 +1100)
commitd56c4f5febce598f7ddc1fd5e78ec6ee621a0d9b
tree5ee8e974ce8067606090d1a6b7e9c7a4d1977f14
parentaab818c10b1fa68b968cabc852680f8ec0fe1360
Create uuid and label symlinks when mounting devices

When we discover a device with ID_FS_UUID or ID_FS_LABEL properties,
create a symlink in the mount tree. This will end up with a mount
tree structure mirroring /dev, and allow devices to be referenced
by uuid when booting is attempted.

Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
devices/paths.c
devices/paths.h
devices/udev-helper.c