🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

1 total messages Started by Randy Wright Mon, 12 Oct 1992 15:15
tar 1.11.1 enhancement idea
#897
Author: 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
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads