xfs
[Top] [All Lists]

Re: sparsify - utility to punch out blocks of 0s in a file

To: sandeen@xxxxxxxxxx, rmy@xxxxxxxxxxxxx
Subject: Re: sparsify - utility to punch out blocks of 0s in a file
From: Ron Yorston <rmy@xxxxxxxxxxxxx>
Date: Sun, 05 Feb 2012 17:19:19 +0000
Cc: xfs@xxxxxxxxxxx, linux-ext4@xxxxxxxxxxxxxxx
In-reply-to: <4F2EB017.5090006@xxxxxxxxxx>
References: <4F2D8F30.3090802@xxxxxxxxxx> <201202050933.q159XQpB026380@xxxxxxxxxxxxxxxxxxxxxxxxxxxxx> <4F2EB017.5090006@xxxxxxxxxx>
User-agent: Heirloom mailx 12.3 7/15/07
OK, I tried it out for my use case of flinging VM filesystem images around
on ext4 and it seems to do the job.  I don't have any 64-bit systems
here at home so I used my feeble 32-bit netbook.  Since sizeof(off_t) !=
sizeof(long long) the debug output was all wrong:

   punching at 8989607068975104 len -4635819229210214401

but the image file and the host filesystem both survived the ordeal.

Ron

<Prev in Thread] Current Thread [Next in Thread>