🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.utils.bug
Article #897

tar 1.11.1 enhancement idea

#897
From: Randy Wright
Date: Mon, 12 Oct 1992 15:15
22 lines
1557 bytes
Hello again!

It seems to me that when extracting files from an archive with the
-S/--sparse flag,  it would be a nice feature to be able to create the
files sparsely where appropriate, regardless of whether the archive was
created with the -S/--sparse flag.  I have in fact made such an
enhancement here that I'd be happy to submit if there's interest at
your end.  All that's necessary is to be willing to trade a bit of
processor time for potential disk space savings - we see if each
block of extracted data is composed entirely of zero's and lseek
the output file as appropriate if so.   Blocks are defined,
for BSD-derived systems, by the blocksize of the target file system.
(I guess the V7/old USG blocksize should be a fixed 512, right?)

Let me know if you're interested in this enhancement - I can send
it along if so.

-- 
Randy Wright			Usmail:	Convex Computers
Phone: (214) 497-4868			3000 Waterview Pky. M/S DV4
Email:	rwright@convex.com		P.O. Box 833851
					Richardson, TX  75083-3851
Technical Details
Message-ID: <9210121515.AA09459@dhostwo.convex.com>
Path: arc1-ca.pugleaf.net!sparky!uunet!convex!darwin.sura.net!spool.mu.edu!agate!usenet.ins.cwru.edu!magnus.acs.ohio-state.edu!cis.ohio-state.edu!dhostwo.convex.com!rwright

Show Full Headers
Complete Article Headers
Newsgroups: gnu.utils.bug
Path: arc1-ca.pugleaf.net!sparky!uunet!convex!darwin.sura.net!spool.mu.edu!agate!usenet.ins.cwru.edu!magnus.acs.ohio-state.edu!cis.ohio-state.edu!dhostwo.convex.com!rwright
From: rwright@dhostwo.convex.com (Randy Wright)
Subject: tar 1.11.1 enhancement idea
Message-ID: <9210121515.AA09459@dhostwo.convex.com>
Sender: gnulists@ai.mit.edu
Reply-To: rwright@convex.com
Organization: Convex Computer Corporation
Distribution: gnu
Date: Mon, 12 Oct 1992 15:15:41 GMT
Approved: bug-gnu-utils@prep.ai.mit.edu
Lines: 23