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


View this message in rfc822 format

From: Paul Eggert <eggert <at> cs.ucla.edu>
To: Pádraig Brady <P <at> draigBrady.com>
Cc: 9157 <at> debbugs.gnu.org, roman.rybalko <at> romanr.info
Subject: bug#9157: [PATCH] dd: sparse conv flag
Date: Tue, 28 Feb 2012 00:50:36 -0800
On 02/27/2012 05:09 PM, Pádraig Brady wrote:
> how
> to handle existing regular files with conv=trunc.
> I.E. seeking over existing possible non NUL data.
> It's too dangerous/inconsistent to do this for files I think.

Why?  This is *dd* we're talking about here.
It's *supposed* to be used for tricky stuff like this.

If one interprets conv=sparse to mean "write sparsely",
rather than "create a sparse file that exactly mimics
the input's sparseness", then everything should be clear,
no?




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.