GNU bug report logs - #5918
[dd] conv=sparse option

Previous Next

Package: coreutils;

Reported by: Heinrich Langos <henrik-gnu <at> prak.org>

Date: Sat, 10 Apr 2010 00:33:02 UTC

Severity: normal

Tags: fixed

Done: Assaf Gordon <assafgordon <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


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

From: Samuel Thibault <samuel.thibault <at> gnu.org>
To: Pádraig Brady <P <at> draigBrady.com>
Cc: Andreas Schwab <schwab <at> suse.de>, 5918 <at> debbugs.gnu.org,
	Heinrich Langos <henrik-gnu <at> prak.org>
Subject: Re: bug#5918: [dd] conv=sparse option
Date: Sat, 10 Apr 2010 18:46:13 +0200
Pádraig Brady, le Sat 10 Apr 2010 16:33:07 +0100, a écrit :
> On 10/04/10 01:28, Heinrich Langos wrote:
> > a) "dd" will maintain an existing of=target file including the inode 
> >    number, thus respecting existing hard links. "cp" will depending 
> >    on the other options given (e.g. "-a") maintain or break existing 
> >    hard links to an existing target file.
> 
> I don't think that's possible as holes can only be created at the end of a file.
> Well I think NTFS supports punching holes in the "middle" but it's not common.

I believe there's demand for supporting punching holes in the middle
of files and it will eventually show up in Linux. For instance, the
combination of IDE TRIM support and virtualization can allow virtualized
guest to take as less disk space as possible in file-backed virtual
disks.

Samuel




This bug report was last modified 6 years and 228 days ago.

Previous Next


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