Subject: Re: pax-as-tar extract to stdout patch
To: NetBSD Userlevel Technical Discussion List <email@example.com>
From: der Mouse <mouse@Rodents.Montreal.QC.CA>
Date: 06/16/2003 20:13:27
>> (2) You think temporary directories can always be used? Are you
>> volunteering to supply the necessary disk space to everyone who
>> needs it?
> Pax (and, IIRC, tar) can easily extract only the one file that would
> just the same be sent to stdout --
Right, but you have to have enough disk space to hold it, which is my
If I have a 500M archive holding a 100M archive holding a tiny file I
want, I need 100M of temporary space to get the tiny file without
extract-to-stdout. With extract-to-stdout, I don't.
> you only need a temporary directory if you need to avoid accidentally
> clobbering any other file by the same name.
...huh? You appear to be assuming that the idea of extracting a file,
even to stdout, is to put the file's contents on disk.
Extract-to-stdout is not just about file names; it's also about not
having to store the whole file at once.
/~\ The ASCII der Mouse
\ / Ribbon Campaign
X Against HTML firstname.lastname@example.org
/ \ Email! 7D C8 61 52 5D E7 2D 39 4E F1 31 3E E8 B3 27 4B