On 02/11/18 10:42, Emil Karlson wrote:
> From: Emil Karlson <[email protected]>
> 
> Add a new option to truncate to the smallest size that contains all its 
> extents
> ie. truncate to the offset of the end of the last extent in the file. This may
> be convenient when passing very large images with long sparse tails to systems
> that do not handle sparse images reasonably and do not need the sparse tails.

Thanks for the patch.
I'm inclined to think that this functionality is best placed in fallocate(1),
which has related functions for modifying extents and apparent size.

cheers,
Pádraig


Reply via email to