summaryrefslogtreecommitdiffstats
path: root/devices/paths.h
Commit message (Collapse)AuthorAgeFilesLines
* Create uuid and label symlinks when mounting devicesJeremy Kerr2008-01-071-0/+4
| | | | | | | | | 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>
* Rework device-path handlingJeremy Kerr2008-01-071-3/+25
| | | | | | | | | | | | | Pass full device paths around, rather than shortened device names and mountpoints. The parse() function has been updated to only take a device path; the mountpoint can be derived with mountpoint_for_device. Also, add initial handling for uuid= and label= syntaxes. This allows us to remap ps3 devices where necessary. Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
* Move path maniuplation functions to devices/paths.cJeremy Kerr2008-01-031-0/+27
This allows us to include the real functions in the parser testsuite, instead of using fakes. Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
OpenPOWER on IntegriCloud