From: Richard Jones Date: Wed, 15 Sep 2010 15:37:24 +0000 (+0100) Subject: todo: More use of libblkid. X-Git-Tag: 1.5.15~4 X-Git-Url: http://git.annexia.org/?a=commitdiff_plain;h=43d5ea6f1ed4cc74c521e4d2b0eec6110f5c44fd;p=libguestfs.git todo: More use of libblkid. --- diff --git a/TODO b/TODO index 306f222..7fa3215 100644 --- a/TODO +++ b/TODO @@ -371,3 +371,15 @@ Display image as PS ------------------- Display the structure of an image file as a PS. + +Greater use of blkid / libblkid +------------------------------- + +guestfs_zero should use wipefs. See wipefs(8). + +There are various useful functions in libblkid for listing partitions, +devices etc which we are essentially duplicating in the daemon. It +would make more sense to just use libblkid for this. + +There are some places where we call out to the 'blkid' program. This +might be replaced by direct use of the library (if this is easier).