[Libguestfs] [PATCH] New API: ntfsresize_info
Pino Toscano
ptoscano at redhat.com
Fri Oct 16 13:00:15 UTC 2015
On Friday 16 October 2015 15:55:44 Maxim Perevedentsev wrote:
> Get minimum size of NTFS filesystem in bytes. This is used primarily for shrinking images.
>
> In case of a full images ntfsresize returns error code and does not print minimum size.
> So we calculate it manually by rounding 'volume size' up to 'cluster size'.
NACK to a separate API per-filesystem.
As I said in a previous email, please turn the newly added resize2fs_P
into a generic API for getting the minimum size of a filesystem, either
bytes or blocks. See for example set_label and set_uuid.
Thanks,
--
Pino Toscano
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: This is a digitally signed message part.
URL: <http://listman.redhat.com/archives/libguestfs/attachments/20151016/947a18d6/attachment.sig>
More information about the Libguestfs
mailing list