[1201] in Moira
[ejb@ql.org: Re: nfs.sh]
daemon@ATHENA.MIT.EDU (E. Jay Berkenbilt)
Thu Oct 22 01:49:07 1998
Date: Thu, 22 Oct 1998 01:47:45 -0400
From: "E. Jay Berkenbilt" <ejb@ql.org>
To: marc@MIT.EDU
Cc: dkk@MIT.EDU, moiradev@MIT.EDU
--Multipart_Thu_Oct_22_01:47:45_1998-1
Content-Type: text/plain; charset=US-ASCII
Actually, to be more precise, this program makes files sparse if at
all possible. It does not, technically, "preserve" sparseness if such
a thing is even possible. I think gnu tar only tries to create sparse
files if the number of blocks multiplied by the blocksize is less than
the file size. Anyway, since no one is going to look at sparsecp.c, I
don't know why I'm wasting my time and this bandwidth talking about
it. :-)
--Multipart_Thu_Oct_22_01:47:45_1998-1
Content-Type: message/rfc822
Date: Thu, 22 Oct 1998 01:39:58 -0400
X-Authentication-Warning: soup.ql.org: ejb set sender to ejb@ql.org using -f
From: "E. Jay Berkenbilt" <ejb@ql.org>
To: marc@MIT.EDU
Cc: dkk@MIT.EDU, moiradev@MIT.EDU
In-Reply-To: <t53zpapw6of.fsf@rover.cygnus.com> (message from Marc Horowitz on
22 Oct 1998 00:40:16 -0400)
Subject: Re: nfs.sh
Content-Type: text/plain; charset=US-ASCII
In the unlikely event that someone goes to the trouble of writing a
sparse-file-aware cp, feel free to start with
~qjb/source/util/tools/sparsecp.c. I wrote this program millions of
years ago to serve a very specific purpose. (Creating Linux boot
disks, actually.) It's a stupid program -- it has no fancy options
and doesn't even let you copy a file to a directory by just naming the
directory. But the logic for preserving sparseness in files is
there. I've used this program many times without any trouble. I
don't use it anymore though -- I just use gnu tar or gnu cp. :-)
Jay
--Multipart_Thu_Oct_22_01:47:45_1998-1--