[Libguestfs] [PATCH RFC] blkid: start using libblkid directly instead

Richard W.M. Jones rjones at redhat.com
Wed Feb 15 10:03:15 UTC 2012


Karel, on a related topic, does libblkid always ignore the cache
(/run/blkid/blkid.tab etc)?

We go to some length to disable the cache in libguestfs, eg. calling
blkid -c /dev/null and/or blkid -p (this has to work on RHEL 5 which
didn't have the -p option).

Basically we never want the cache, we always want (lib)blkid to probe
the disk directly.

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
New in Fedora 11: Fedora Windows cross-compiler. Compile Windows
programs, test, and build Windows installers. Over 70 libraries supprt'd
http://fedoraproject.org/wiki/MinGW http://www.annexia.org/fedora_mingw




More information about the Libguestfs mailing list