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

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
Libguestfs mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/libguestfs

Reply via email to