Files
libguestfs/daemon
Richard Jones 65e9ac4595 New APIs: findfs-label and findfs-uuid
These two calls wrap up the /sbin/findfs command, allowing you
to find a filesystem by only knowing its label or UUID.

This is especially useful when resolving LABEL=... or UUID=...
entries in /etc/fstab.

Sample guestfish session:

><fs> vfs-uuid /dev/vda1
277dd61c-bf34-4253-a8dc-df500a05e7df
><fs> findfs-uuid 277dd61c-bf34-4253-a8dc-df500a05e7df
/dev/vda1
><fs> vfs-label /dev/vda1
/boot
><fs> findfs-label /boot
/dev/vda1
><fs> vfs-uuid /dev/VolGroup00/LogVol00
40ce7c36-82ce-4a12-a99d-48f5e054162c
><fs> findfs-uuid 40ce7c36-82ce-4a12-a99d-48f5e054162c
/dev/mapper/VolGroup00-LogVol00
><fs> findfs-uuid 12345678
libguestfs: error: findfs_uuid: findfs: unable to resolve 'UUID=12345678'
2010-08-17 14:09:25 +01:00
..
2010-06-04 10:19:33 +01:00
2009-09-14 10:13:03 +01:00
2009-11-09 22:34:16 +01:00
2009-07-03 17:04:21 +02:00
2009-07-03 17:04:21 +02:00
2010-03-12 16:23:46 +00:00
2009-11-25 16:28:26 +00:00
2010-04-07 12:05:46 +01:00

Please see README in the parent directory.