[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#9157: [PATCH] dd: sparse conv flag

From: Roman Rybalko
Subject: bug#9157: [PATCH] dd: sparse conv flag
Date: Tue, 28 Feb 2012 22:00:23 +0400
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv: Gecko/20111108 Thunderbird/3.1.16

On 28.02.2012 21:01, Pádraig Brady wrote:
> Ok the attached should be pretty much complete.
> It disables conv=sparse when used with
> conv=notrunc or oflag=append.
> Comments appreciated.
About "sparse" stuff everything's ok, imo.
Actually I can live with truncated files due to absence of last write,
but for user it's really convenient to have output file with matched
size :) so it worths having additional static var with some logic around.

I have another idea about INPUT_BLOCK_SLOP/OUTPUT_BLOCK_SLOP: what about
not hardcoding them but getting them out of the filesystem, or out of
ibs/obs specified by user - that last would be the best case. But that's
probably not for this feature request.

Roman Rybalko

reply via email to

[Prev in Thread] Current Thread [Next in Thread]