Re: tar -cvfX save.tar foo ./dirtosave/..
From: Peter T. Breuer (ptb_at_it.uc3m.es)
Date: 08/26/03
- Next message: Joerg Schilling: "Re: tar -cvfX save.tar foo ./dirtosave/.."
- Previous message: John D Groenveld: "Re: volume management : adding and removing space"
- In reply to: Logan Shaw: "Re: tar -cvfX save.tar foo ./dirtosave/.."
- Next in thread: Joerg Schilling: "Re: tar -cvfX save.tar foo ./dirtosave/.."
- Reply: Joerg Schilling: "Re: tar -cvfX save.tar foo ./dirtosave/.."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Tue, 26 Aug 2003 23:23:53 +0200
In comp.os.linux.misc Logan Shaw <lshaw-usenet@austin.rr.com> wrote:
> Peter T. Breuer wrote:
>> OTOH, starring up the source directory results in an archive that gtar
>> hates. So star produces incompatible archives.
> Why yes, this is the point that Joerg has been trying to make. The two
> programs (GNU tar and star) use incompatible archive formats. So, the
> question becomes who defines the standards. Is it POSIX, or is it GNU?
It's posix. I didn't try with POSIXLY_CORRECT set, however. If gnu tar
does not read a posix -compliant archive, then that would be an
interesting situation.
(tar.info for gnu tar).
POSIX Compliance
================
We make some of our recommendations throughout this book for one reason
in addition to what we think of as "good sense". The main additional
reason for a recommendation is to be compliant with the POSIX
standards. If you set the shell environment variable
`POSIXLY_CORRECT', GNU `tar' will force you to adhere to these
standards. Therefore, if this variable is set and you violate one of
the POSIX standards in the way you phrase a command, for example, GNU
`tar' will not allow the command and will signal an error message. You
would then have to reorder the options or rephrase the command to
comply with the POSIX standards.
There is a chance in the future that, if you set this environment
variable, your archives will be forced to comply with POSIX standards,
also. No GNU `tar' extensions will be allowed.
Peter
- Next message: Joerg Schilling: "Re: tar -cvfX save.tar foo ./dirtosave/.."
- Previous message: John D Groenveld: "Re: volume management : adding and removing space"
- In reply to: Logan Shaw: "Re: tar -cvfX save.tar foo ./dirtosave/.."
- Next in thread: Joerg Schilling: "Re: tar -cvfX save.tar foo ./dirtosave/.."
- Reply: Joerg Schilling: "Re: tar -cvfX save.tar foo ./dirtosave/.."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|