tech-userlevel archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: bsdcpio and bsdtar installed by default

On Thu, Jun 05, 2008 at 06:03:01AM -0700, Tom Spindler wrote:
> > dd if=/dev/zero of=large_file bs=1m seek=8192 count=1
> > tar czf large_file.tgz large_file
> > 
> > is a trivial test case.
> This is a limitation of the 1003.2 ustar format; to quote the opengroup doc:
> size
>     The size of the file in octets, expressed as a decimal number using 
> digits from the ISO/IEC 646:1991 standard. This record shall override the 
> size field in the following header block(s). When used in write or copy mode, 
> pax shall include a size extended header record for each file with a size 
> value greater than 8589934591 (octal 77777777777). 
> Which is, effectively, the same exact issue as bin/26521.

Not exactly. Many tar implementations allow using other bases for ustar
as well. That's a quick fix and a hack, but it works surprisingly well.


Home | Main Index | Thread Index | Old Index