GNU bug report logs - #9157
[PATCH] dd: sparse conv flag

Previous Next

Package: coreutils;

Reported by: Roman Rybalko <devel <at> romanr.info>

Date: Sat, 23 Jul 2011 22:42:04 UTC

Severity: normal

Tags: patch

Done: Pádraig Brady <P <at> draigBrady.com>

Bug is archived. No further changes may be made.

Full log


Message #55 received at 9157 <at> debbugs.gnu.org (full text, mbox):

From: Roman Rybalko <devel <at> romanr.name>
To: Pádraig Brady <P <at> draigBrady.com>
Cc: 9157 <at> debbugs.gnu.org, Paul Eggert <eggert <at> cs.ucla.edu>
Subject: Re: bug#9157: [PATCH] dd: sparse conv flag
Date: Tue, 28 Feb 2012 22:00:23 +0400
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.

-- 
WBR,
Roman Rybalko





This bug report was last modified 13 years and 182 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.