6 Mar
2015
6 Mar
'15
3:07 a.m.
-----Original Message----- From: Richard W.M. Jones [mailto:rjones@redhat.com] Sent: Thursday, March 05, 2015 8:48 PM To: Chen, Hanxiao/陈 晗霄 Cc: libguestfs@redhat.com Subject: Re: [Libguestfs] [PATCH 2/2] New API: btrfs_image_restore
I'm guessing that what users will actually want to do is to download and upload these images, rather than having to write them to another part of the disk image first. I wonder if btrfs-image can do streaming?
It would be better to use IMAGE. We use btrfs-image to dump image of a btrfs filesystem for developer debug, and developer use this image with btrfs-image -r. So I think we should expose btrfs-image to users and drop btrfs-image-restore. Regards, - Chen