Commit Graph

100 Commits

Author SHA1 Message Date
kleink a8e69293b0 LC_TIME holds a locale name, which isn't a strftime() format string. 2000-10-22 15:41:31 +00:00
phil c2abf9c643 Don't generate html yet. doc2html needs a fix. 2000-09-26 16:49:22 +00:00
kleink 97f9bd4019 Elaborate a bit on -t. 2000-09-04 07:26:38 +00:00
tv b0477f6d7e Work around a groff bug by splitting a long .Cm into two parts. 2000-08-21 13:53:50 +00:00
thorpej 547c89117a Implement --atime-preserve. 2000-07-04 17:28:47 +00:00
thorpej a3a7c5ccf1 Implement --use-compress-program. 2000-07-04 17:24:47 +00:00
thorpej 4120b8a499 Add GNU tar-style long options for pax's tar front-end. Still many
GNU options not implemented, but there is an #if 0'd out canonical
list.
2000-07-04 17:17:49 +00:00
mrg 27f963a94f minor KNF nits. 2000-06-17 18:19:10 +00:00
simonb 51ee9dc68d Don't declare 'extern opt*' getopt variables. 2000-04-14 05:52:56 +00:00
thorpej d0666190e1 Add a -O option: force one volume. This causes pax to not prompt for
a new volume upon premature end-of-volume (e.g. broken pipe).  This is
especially useful in automated environments where error recovery cannot
be performed by a human.
2000-03-30 17:53:04 +00:00
thorpej 0317a20658 Use an in-core stack for directory permissions rather than a temporary
file.  The temporary file code can be reenabled by building with
-DDIRS_USE_FILE.

Fixes a problem where sysinst would fail to unpack the base set because
the temporary file wouldn't fit in the ramdisk.
2000-03-21 02:15:24 +00:00
soren 1594850f00 Fix doubled 'the' in comment. 2000-03-13 22:46:59 +00:00
itohy f8adf56da0 Cleanup and fix typos.
Partially from FreeBSD.
2000-02-17 03:12:22 +00:00
itohy fae63d9627 Use lseek(2) on devices if not tape drives.
This makes listing on raw disk device much faster.
Reviewed and discussed in tech-kern and tech-userlevel lists.
2000-02-17 03:08:40 +00:00
itohy ba0ae447ef Fix SIGINFO botch (PR #8868).
Continue partial write(2) on signals (xwrite()).
Partial read(2) at a few places are also continued (xread()).

Add {read,write}_with_restart() hooks for porting on systems
which don't restart interrupted read()/write() calls.

Reviewed and discussed in tech-kern and tech-userlevel lists.
2000-02-17 03:06:12 +00:00
mycroft 8493d15a0c Fix a glitch with handling files larger than 2GB. 2000-01-19 18:41:23 +00:00
mycroft e9e9dbbd42 Disable -pf for now, too. 1999-11-07 15:57:31 +00:00
mycroft 5d5e10aec4 Completely disable all the chflags(2) support for now. With this enabled, I
can't even get a build to finish over NFS.  Not acceptable.
1999-11-07 15:48:24 +00:00
mycroft 39b5cd452c Don't try to set file flags for a symlink. 1999-11-07 09:44:11 +00:00
mrg 14c29acc41 whoops; reverse the logic of the previous to make it correct. noted by mycroft. 1999-11-01 17:13:27 +00:00
mrg 058c411cdd add CAF testing to extraction, archiving and listing (where it is used) 1999-11-01 16:46:52 +00:00
mrg b60cafe2fb add a new -p subflag: 'f' to preserve 4.4BSD fileflags. this only
really works for `pax -rw' but that's where it is most useful.
1999-11-01 01:35:58 +00:00
is e413a4ff50 Implement positional -C argument to tar. 1999-10-22 20:59:08 +00:00
mrg 78e294d1bc support ././@LongLink extraction, as created by GNU tar. 1999-10-22 10:43:11 +00:00
mrg f2cf747ebc remove some old cruft. 1999-10-22 10:38:40 +00:00
jdolecek 4ed908a566 add SEE ALSO section, xref tar(1), cpio(1), symlink(7) 1999-09-26 21:19:54 +00:00
enami e9de0d1bbd Don't emphasys punctuations. 1999-09-26 09:57:31 +00:00
tron 10fa22ca89 Fix "tar" mode usage string. 1999-08-24 08:02:27 +00:00
tron 62724fe719 Recognize GnuTAR's "h" (instead of "H") and "P" options. 1999-08-24 08:00:03 +00:00
tron 1fbe6b7eae Strip leading slashes from filenames by default, add new "A" option to
disable this behaviour. Patches supplied by Peter Seebach in PR bin/8233.
1999-08-24 07:57:06 +00:00
kleink 9d3e44943a Add the ability to handle estranged V7 tar archives that use USTAR-style
directories; addresses PR bin/8220.
1999-08-18 17:46:28 +00:00
kleink e97454c22b Honor the contents of $TMPDIR for the creation of temporary files, and use
_PATH_TMP instead of hardcoding /tmp if not set in the environment; fixes
PR bin/7796 from Chris Demetriou.
1999-07-03 14:42:39 +00:00
pk b65081cff2 When substituting backreferences source from the pattern, not the replacement
strings.
1999-03-24 17:00:23 +00:00
garbled f124765044 More and more .Os cleanups. .Os is defined in the tmac.doc-common file,
so we shouldn't override it with versions in the manpages.  Many more to
come.
1999-03-22 18:25:43 +00:00
mycroft fcfc497f58 Do the previous is a slightly different way, to avoid .Po/.Pc. 1999-03-07 22:40:18 +00:00
mycroft 83a97707fb Clean up embedded angle brackets for mdoc2html. 1999-03-07 20:28:55 +00:00
mycroft be61c999f6 Finally get all of the highlighting correct in the -T argument. 1999-03-07 19:58:45 +00:00
mycroft f6590b22cd Clean up SYNOPSIS formatting. 1999-03-07 11:02:05 +00:00
mycroft 7a981b1dc5 Fix formatting errors. 1999-03-07 10:48:31 +00:00
mycroft 976b71d89f Use .Ns a bit. 1999-03-07 03:44:51 +00:00
mycroft c35cd0d402 Improve the formatting of the SYNOPSIS section. 1999-03-07 01:07:57 +00:00
mycroft 12cb4ca205 Add -z option to usage message. 1999-03-07 01:03:32 +00:00
christos 789b715904 Add SIGINFO support. 1999-03-03 18:06:52 +00:00
kleink b75d68301e <sys/fcntl.h> -> <fcntl.h> 1999-02-12 15:04:00 +00:00
tron 7455a4498d Fix opt_add() prototype. 1999-02-07 15:08:50 +00:00
tv 4aa7016df7 Fix opt_add to take const char * so that it can be passed a constant
string legally (it strdup()s the argument).  How pax-as-tar `-o' ever
worked without a coredump is beyond me...

Also modify pax-as-tar `-o' to do three things, which depend on the
create/extract mode:

- write V7 format archives (which, though part of GNU tar, actually
  goes along with the following point--after all, old pax-as-tar created
  V7 archives by default);
- write archives with "write_opt=nodir", as pax already did, and as
  specified by 4.2BSD;
- extract archives with owner/group set to invoking user, as specified
  by SUS.
1999-02-07 00:56:55 +00:00
tv fb3e11970f Lost 5 lines in the version that was committed. Re-add them. 1999-02-02 23:42:41 +00:00
tv 6e7077da0a Uh, when called as "tar" we should still default to "ustar" output, not
V7 tar format.  Also change meaning of pax-as-tar option "-o" to mean
"use V7 output format" (same as GNU tar's -o).
1999-02-02 23:31:52 +00:00
mycroft 75e40b3781 Make this build on the Alpha. 1999-01-21 08:46:06 +00:00
mrg ce6b187617 implement the gnutar -X flag in terms of pax -s. fix some bugs in pax -s handling while i am here... 1999-01-20 14:45:09 +00:00