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