[Libguestfs] [PATCH v2 1/5] uuid: add support to change uuid of btrfs partition

Richard W.M. Jones rjones at redhat.com
Thu Jun 25 13:07:54 UTC 2015


On Thu, Jun 25, 2015 at 09:49:58AM +0000, Chen, Hanxiao wrote:
> How about:
> 
> errcode = ENOTSUP;
> 
> reply_with_error_errno (errcode, " btrfs filesystems' UUID cannot be changed");
> 
> Then we got the errno, and set_uuid could tell whether we support this feature.

Seems that would make sense, yes.

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming and virtualization blog: http://rwmj.wordpress.com
virt-df lists disk usage of guests without needing to install any
software inside the virtual machine.  Supports Linux and Windows.
http://people.redhat.com/~rjones/virt-df/




More information about the Libguestfs mailing list