Commit Graph

127 Commits

Author SHA1 Message Date
Sergey Poznyakoff 6f8cbc5ca8 Use @var{file_name} instead of @var{file name} 2006-05-22 10:01:34 +00:00
Sergey Poznyakoff 1518cef987 (@copying): Remove the reference to not existing invariant section. 2006-04-25 17:26:30 +00:00
Sergey Poznyakoff 48d20d8f9e Minor fixes. 2006-03-13 09:42:22 +00:00
Sergey Poznyakoff e81556858b Fix typo: --to-command instead of --to-program 2006-02-21 07:09:39 +00:00
Paul Eggert 78b078b455 * NEWS: --version now outputs copyright etc., to conform to the
GNU coding standards.  Remove --license.
* gnulib.modules: Add version-etc-fsf.
* doc/tar.texi: Document the change.
* lib/.cvsignore: Add version-etc-fsf.c, version-etc.c, version-etc.h.
* scripts/Makefile.am (SED_CMD): Update PAKCAGE_NAME, not PACKAGE.
* scripts/backup.in: Remove --license.  Change --version to conform
to GCS.
* scripts/restore.in: Likewise.
* scripts/backup.sh.in (license): Output briefer license in the
style of coreutils, for consistency with other changes.
* src/tar.c: Include <version-etc.h>.
(LICENSE_OPTION): Remove.
(options): Remove --license.
(license): Remove.
(parse_opt): Use version_etc instead of rolling it ourselves.
Remove --license.
* tests/version.at (tar --version): Check only the first line of
output.
2006-02-07 22:18:36 +00:00
Sergey Poznyakoff 6a97a00688 Initial documentation for --quoting-style, --quote-chars and --no-quote-chars option. 2006-01-18 15:36:01 +00:00
Sergey Poznyakoff fb0a0aaf52 Document --delay-directory-restore option.
(Configuring Help Summary): Document usage of ARGP_HELP_FMT
variable to customize help output.
2005-12-11 14:10:53 +00:00
Sergey Poznyakoff bfa1bba5fd Fix typo 2005-12-08 15:55:53 +00:00
Sergey Poznyakoff c9ac15ae0f (Current status): Renamed to 'Changes' and moved to
appendices.
(Large or Negative Values): Rewritten
2005-12-08 15:40:52 +00:00
Sergey Poznyakoff 67770b89f2 Change permissions in the sample outputs to more usual ones 2005-12-07 16:17:44 +00:00
Sergey Poznyakoff 0d2cdcb797 Remove @set's 2005-12-07 15:12:00 +00:00
Sergey Poznyakoff 49e7ba5b17 Following the discussion with Karl Berry,
discontinue using @value{} substitutions for Texinfo commands.
Properly index all long options. Print a
separate long option index.
2005-12-07 15:11:45 +00:00
Sergey Poznyakoff 80855932f0 Resolve some more FIXMEs 2005-12-07 09:42:30 +00:00
Sergey Poznyakoff 3f166ce0f5 Update --info-scripts documentation 2005-12-06 23:13:19 +00:00
Sergey Poznyakoff a5da71b142 Document --to-command and --info-script options. Add missing xrefs. 2005-12-06 16:31:37 +00:00
Paul Eggert 2edff367d9 * doc/tar.texi (Option Summary): Rewrite the
--atime-preserve=system description in response to Ian Turner's
proposed patch.
* doc/tar.texi (Extracting Specific Files): Remove obsolescent
FIXME.
2005-12-01 00:18:05 +00:00
Paul Eggert aa976a5170 * NEWS: New option --atime-preserve=system, which uses O_NOATIME.
* configure.ac: Prefer AC_CHECK_HEADERS_ONCE to AC_CHECK_HEADERS.
Check for stropts.h and sys/filio.h too, for _FIOSATIME.
* doc/tar.texi: Change "modification time" to "data modification
time", "change time" to "status change time", and "filesystem" to
"file system", so that we use terminology consistent with POSIX.
Use American spacing rather than French for sentence ends.
"non-dependable" -> "undependable".
(Option Summary, Attributes): Explain better the pitfalls of the
--atime-preserve option, and suggest read-only mounts,loopback
mounts, and noatime mounts for older systems.
* doc/value.texi (op-atime-preserve-system): Renamed from
op-atime-preserver-system to fix a misspelling.
* src/common.h (enum atime_preserve): Use lower case for enum values.
* src/compare.c: Don't include utimens.h; no longer needed.
(diff_file): Use set_file_atime rather than utimens; avoid closing
diff_handle until after this, so that we can set the file time stamp
via the file descriptor rather than via its name.
* src/create.c: Don't include utimens.h; no longer needed.
(dump_regular_finish): Remove.  All callers now do its work inline.
(dump_dir): New arg FD.  All callers changed.
Use fdsavedir rather than savedir.
(unknown_file_error): Arg is a const pointer now.
(dump_file0): 2nd arg is a const pointer now.
Treat directories more like files, with respect to --atime-preserve.
For example, also warn if a directory changes while we are dumping it.
Prefer file descriptors to file names when retrieving/setting file
attributes; this saves path-resolution time and allows us to avoid
changing mtime/ctime on Solaris when restoring atime as root.
Use O_DIRECTORY when opening directories, to avoid some race conditions.
Do not reset atime if mtime has changed.  Report an error if
we cannot reset atime.

First cut at adding support for --atime-preserve=system.
* doc/tar.texi (Option Summary): First cut at documenting it.
All other uses of --atime-preserve changed to --atime-preserve=replace.
* doc/value.texi (op-atime-preserve-replace, op-atime-preserver-system):
New.
(op-atime-preserve): Mention METHOD.
* src/common.h (atime_preserve): New enum.
(atime_preserve_option): Now of the enum type rather than bool.
All uses changed.
* src/compare.c (diff_file): Read with O_NOATIME if asked for.
* src/create.c (dump_file0): Read regular and CTG files with O_NOATIME
if asked for.
* src/tar.c (usage): Mention new usage.
(parse_opt): Parse new usage.
2005-11-29 19:14:21 +00:00
Sergey Poznyakoff ecce6f3e9a (Tarcat): New node 2005-11-11 00:27:58 +00:00
Sergey Poznyakoff 48d508b78b Update 2005-11-09 13:07:26 +00:00
Sergey Poznyakoff d01f65092c Properly document incremental dumps 2005-11-06 11:51:12 +00:00
Sergey Poznyakoff 8b2504deca Update 2005-11-05 16:49:17 +00:00
Sergey Poznyakoff ad09c8373b New file 2005-11-05 16:47:49 +00:00
Paul Eggert b272b3e2cf * doc/tar.texi: Consistently put two spaces after sentences,
and put commas after "i.e." and "e.g.".  This is the usual GNU
style in manuals.
2005-11-02 23:03:39 +00:00
Sergey Poznyakoff ecdef9daaa Fix cover page 2005-09-30 19:49:37 +00:00
Sergey Poznyakoff 57fcb1639e Use @option and @kbd consistently. Document new options. 2005-09-29 16:28:06 +00:00
Sergey Poznyakoff aa76a67b76 Fix typo 2005-07-08 14:40:26 +00:00
Sergey Poznyakoff 77e56f876d Document new backup scripts behavior 2005-05-26 12:50:43 +00:00
Paul Eggert 120e96c480 Update FSF postal mail address. 2005-05-15 03:59:08 +00:00
Sergey Poznyakoff 3ac99bc540 Updated 2005-05-12 15:46:18 +00:00
Sergey Poznyakoff 73be90ea0d (Genfile): New appendix 2005-05-12 15:38:48 +00:00
Sergey Poznyakoff 9adc789138 (tar_TEXINFOS): Add genfile.texi 2005-05-12 15:38:37 +00:00
Paul Eggert 67c7284d07 * bootstrap (TP_URL): Change from
<http://www2.iro.umontreal.ca/~gnutra/po/maint/tar/> to
<http://www.iro.umontreal.ca/translation/maint/tar/> to avoid
some redirection glitches.
Use "trap - 0" rather than "trap 0" to fix a POSIX-conformance bug.
* doc/.cvsignore: Change "tar.info" to "tar.info*".  Sort.
2005-03-21 21:56:02 +00:00
Sergey Poznyakoff 64ba4757bc Reverted changes 2005-02-05 22:08:49 +00:00
Sergey Poznyakoff 4e52e75bbe Updated 2005-01-18 01:53:09 +00:00
Sergey Poznyakoff 01778aa4a9 Updated 2005-01-18 01:18:07 +00:00
Sergey Poznyakoff 3360b2cce4 Moved rendition macros and option value definitions from tar.texi into separate files 2005-01-18 01:15:48 +00:00
Sergey Poznyakoff 5f19de0372 Document new options. Moved rendition macros and option value definitions into separate files 2005-01-18 01:14:04 +00:00
Sergey Poznyakoff 47b2def4a2 *** empty log message *** 2005-01-14 08:47:36 +00:00
Sergey Poznyakoff ef96e14fe1 Template file for gendocs.sh 2005-01-12 00:07:49 +00:00
Sergey Poznyakoff 3e5686c1ec Updated docs for --[no-]same-permissions 2005-01-11 16:27:57 +00:00
Sergey Poznyakoff b8efe40f54 Use gendocs.sh to generate web documentation 2005-01-11 16:27:43 +00:00
Paul Eggert c0eaf364d0 Add getdate.texi. 2004-12-24 07:43:52 +00:00
Sergey Poznyakoff 19f60610d1 Updated 2004-12-21 16:21:53 +00:00
Sergey Poznyakoff dcedecad2b Rewritten in xhtml to follow recent GNU site standards. 2004-12-21 13:27:28 +00:00
Sergey Poznyakoff 94f7d4e7c1 Document auto-detection of compressed archive formats. 2004-12-18 20:06:39 +00:00
Paul Eggert 73b52b1b9b Adjust to recent gnulib changes. 2004-11-28 06:32:01 +00:00
Sergey Poznyakoff 2c7d98238b (.text): Fixed rule 2004-10-04 09:29:25 +00:00
Sergey Poznyakoff 9e2233007c Updated 2004-10-04 09:27:53 +00:00
Sergey Poznyakoff e370518b43 Minor fix 2004-09-16 13:42:22 +00:00
Sergey Poznyakoff a2a6547e2d Document the use of -C option in file lists. Document --seek option. 2004-09-02 13:52:40 +00:00