This isn't very well tested at the moment because my main testing
machine is broken. So just for comment, only to be applied with
caution.
This patch has two new commands which make it much easier to look up
filesystems by their UUID or label. They are:
list-devices-by-uuid
list-devices-by-label
Each returns a hashtable (or whatever the equivalent structure is in
your favourite programming language).
The keys of the hash are UUID or label.
The values are the filesystem device, eg. /dev/sda1 or /dev/VG/LV
Rich.
--
Richard Jones, Emerging Technologies, Red Hat
http://et.redhat.com/~rjones
Read my programming blog:
http://rwmj.wordpress.com
Fedora now supports 75 OCaml packages (the OPEN alternative to F#)
http://cocan.org/getting_started_with_ocaml_on_red_hat_and_fedora