[indiana-discuss] [osol-discuss] why gnu chmod in os2008.11?

Joerg Schilling Joerg.Schilling at fokus.fraunhofer.de
Sat Jan 17 14:17:14 PST 2009


Tim Bray <Tim.Bray at Sun.COM> wrote:

> I've been using tar on linux since about 1996 and I've never had such  
> a failure, nor have I ever heard of anyone having one.  I'm not saying  
> that it can't happen, I'm just saying that the experience of the  
> community is that's an extremely reliable tool.

Whether your personal experiences include problems or not depends on what you 
are doing.

GNU tar did until very recently have problems with larger sparse files
and it still rejects the read back 1-5% of all continuation volumes from a
multi volume archive. Every time, I planned to reimplement an idea from 
GNU tar in star, I collected possible implementation problems and always 
found a related bug in GNU tar.

> > Roughly at the same time as GNU tar introduced -z, star introduced
> > auto-decompression. Why do you like to know about this detail if the  
> > tar
> > implementation could to this for you automagically based on the  
> > compression
> > header magic numbers?
>
> My fingers are used to typing "tar -xzf" and as long as I don't get  
> any stupid error messages and the data is unpacked, I'm happy. -T

-z is related to the outdated gzip compression.

If your archive was compressed using bzip2 or 7z, your command line fails.

Star on the other side recognizes the compression method and automagically
calls the right matching decompress program.

Jörg

-- 
 EMail:joerg at schily.isdn.cs.tu-berlin.de (home) Jörg Schilling D-13353 Berlin
       js at cs.tu-berlin.de                (uni)  
       joerg.schilling at fokus.fraunhofer.de (work) Blog: http://schily.blogspot.com/
 URL:  http://cdrecord.berlios.de/private/ ftp://ftp.berlios.de/pub/schily



More information about the indiana-discuss mailing list