NEWS 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575
  1. GNU tar NEWS - User visible changes.
  2. Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004
  3. Free Software Foundation, Inc.
  4. See the end for copying conditions.
  5. Please send GNU tar bug reports to <[email protected]>
  6. version 1.13.93 - Sergey Poznyakoff, 2004-02-24
  7. * Added support for POSIX.1-2001 and ustar archive formats.
  8. * New option --format allows to select the output archive format
  9. * The default output format can be selected at configuration time
  10. by presetting the environment variable DEFAULT_ARCHIVE_FORMAT.
  11. Allowed values are GNU, V7, OLDGNU and POSIX.
  12. * New option --strip-path allows to cut off a given number of
  13. path elements from the name of the file being extracted.
  14. * New options --index-file, --no-overwrite-dir. The --overwrite-dir
  15. option is now the default; use --no-overwrite-dir if you prefer
  16. the previous default behavior.
  17. * The semantics of -o option is changed. When extracting, it
  18. does the same as --no-same-owner GNU tar option. This is compatible
  19. with UNIX98 tar. Otherwise, its effect is the same as that of
  20. --old-archive option. This latter is deprecated and will be removed
  21. in future.
  22. * New option --check-links prints a message if not all links are dumped
  23. for a file being archived. This corresponds to the UNIX98 -l option.
  24. The current semantics of the -l option is retained for compatibility
  25. with previous releases, however such usage is strongly deprecated as
  26. the option will change to its UNIX98 semantics in the future releases.
  27. * New option --occurrence[=N] can be used in conjunction with one of
  28. the subcommands --delete, --diff, --extract or --list when a list of
  29. files is given either on the command line or via -T option. This
  30. option instructs tar to process only the Nth occurrence of each named
  31. file. N defaults to 1, so `tar -x -f archive --occurrence filename'
  32. extracts the first occurrence of `filename' from `archive'
  33. and terminates without scanning to the end of the archive.
  34. * New option --pax-option allows to control the handling of POSIX
  35. keywords in `pax' extended headers. It is equivalent to `pax'
  36. -o option.
  37. * --incremental and --listed-incremental options work correctly on
  38. individual files, as well as on directories.
  39. * Removed obsolete command line options:
  40. ** --absolute-paths superseded by --absolute-names
  41. ** --block-compress is not needed any longer
  42. ** --block-size superseded by --blocking-factor
  43. ** --modification-time superseded by --touch
  44. ** --read-full-blocks superseded by --read-full-records
  45. ** --record-number superseded by --block-number
  46. ** --version-control superseded by --backup
  47. * New message translations fi (Finnish), gl (Galician), hr (Croatian),
  48. hu (Hungarian), ms (Malaysian), nb (Norwegian), ro (Romanian), sk
  49. (Slovak), zh_CN (Chinese simplified), zh_TW (Chinese traditional).
  50. The code 'no' for Norwegian has been withdrawn; use 'nb' instead.
  51. * Bug fixes.
  52. version 1.13.25 - Paul Eggert, 2001-09-26
  53. * Bug fixes.
  54. version 1.13.24 - Paul Eggert, 2001-09-22
  55. * New option --overwrite-dir.
  56. * Fixes for buffer overrun, porting, and copyright notice problems.
  57. * The message translations for Korean are available again.
  58. version 1.13.23 - Paul Eggert, 2001-09-13
  59. * Bug, porting, and copyright notice fixes.
  60. version 1.13.22 - Paul Eggert, 2001-08-29
  61. * Bug fixes.
  62. version 1.13.21 - Paul Eggert, 2001-08-28
  63. * Porting and copyright notice fixes.
  64. version 1.13.20 - Paul Eggert, 2001-08-27
  65. * Some bugs were fixed:
  66. - security problems
  67. - hard links to symbolic links
  68. * New option --recursion (the default) that is the inverse of --no-recursion.
  69. * New options --anchored, --ignore-case, --wildcards,
  70. --wildcards-match-slash, and their negations (e.g., --no-anchored).
  71. Along with --recursion and --no-recursion, these options control how
  72. exclude patterns are interpreted.
  73. * The default interpretation of exclude patterns is now --no-anchored
  74. --no-ignore-case --recursion --wildcards --wildcards-match-slash.
  75. This is a quiet change to the semantics of --exclude. The previous
  76. semantics were a failed attempt at backward compatibility but it
  77. became clear that the semantics were puzzling and did not satisfy
  78. everybody. Rather than continue to try to revive that dead horse we
  79. thought it better to substitute cleaner semantics, with options so
  80. that you can change the behavior more to your liking.
  81. * New message translations for Indonesian and Turkish.
  82. The translation for Korean has been withdrawn due to encoding errors.
  83. It will be reissued once those are fixed.
  84. version 1.13.19 - Paul Eggert, 2001-01-13
  85. * The -I option has been withdrawn, as it was buggy and confusing.
  86. Eventually it is planned to be reintroduced, with the same meaning as -T.
  87. * With an option like -N DATE, if DATE starts with "/" or ".", it is taken
  88. to be a file name; the last-modified time of that file is used as the date.
  89. version 1.13.18 - Paul Eggert, 2000-10-29
  90. * Some security problems have been fixed. `tar -x' now modifies only
  91. files under the working directory, unless you also specify an unsafe
  92. option like --absolute-names or --overwrite.
  93. * The short name of the --bzip option has been changed to -j,
  94. and -I is now an alias for -T, for compatibility with Solaris tar.
  95. * The manual is now distributed under the GNU Free Documentation License.
  96. * The new environment variable TAR_OPTIONS holds default command-line options.
  97. * The --no-recursion option now affects extraction too.
  98. * The wording in some diagnostics has been changed slightly.
  99. * Snapshot files now record whether each file was accessed via NFS.
  100. The new file format is upward- and downward-compatible with the old.
  101. * New language supported: da.
  102. * Compilation by traditional (K&R) C compilers is no longer supported.
  103. If you still use such a compiler, please use GCC instead.
  104. * This version of tar works best with GNU gzip test version 1.3 or later.
  105. Please see <ftp://alpha.gnu.org/gnu/gzip/>.
  106. * `tar --delete -f -' now works again.
  107. version 1.13.17 - Paul Eggert, 2000-01-07.
  108. * `tar --delete -f -' is no longer allowed; it was too buggy.
  109. * Diagnostic messages have been made more regular and consistent.
  110. version 1.13.16 - Paul Eggert, 1999-12-13.
  111. * By default, tar now refuses to overwrite an existing file when
  112. extracting files from an archive; instead, it removes the file
  113. before extracting it. If the existing file is a symbolic link, the
  114. link is removed and not the pointed-to file. There is one
  115. exception: existing nonempty directories are not removed, nor are
  116. their ownerships or permissions extracted. This fixes some
  117. longstanding security problems.
  118. The new --overwrite option enables the old default behavior.
  119. For regular files, tar implements this change by using the O_EXCL
  120. option of `open' to ensure that it creates the file; if this fails, it
  121. removes the file and tries again. This is similar to the behavior of
  122. the --unlink-first option, but it is faster in the common case of
  123. extracting a new directory.
  124. * By default, tar now ignores file names containing a component of `..'
  125. when extracting, and warns about such file names when creating an archive.
  126. To enable the old behavior, use the -P or --absolute-names option.
  127. * Tar now handles file names with multibyte encodings (e.g. UTF-8, Shift-JIS)
  128. correctly. It relies on the mbrtowc function to handle multibyte characters.
  129. * The file generated by -g or --listed-incremental now uses a format
  130. that is independent of locale, so that users need not worry about
  131. locale when restoring a backup. This is needed for proper support
  132. of multibyte characters. Old-format files can still be read, and
  133. older versions of GNU tar can read new-format files, unless member
  134. names have multibyte chars.
  135. * Many diagnostics have been changed slightly, so that file names are
  136. now output unambiguously. File names in diagnostics now are either
  137. `quoted like this' (in the default C locale) or are followed by
  138. colon, newline, or space, depending on context. Unprintable
  139. characters are escaped with a C-like backslash conventions.
  140. Terminating characters (e.g. close-quote, colon, newline)
  141. are also escaped as needed.
  142. * tar now ignores socket files when creating an archive.
  143. Previously tar archived sockets as fifos, which caused problems.
  144. version 1.13.15 - Paul Eggert, 1999-12-03.
  145. * If a file's ctime changes when being archived, report an error.
  146. Previously tar looked at mtime, which missed some errors.
  147. version 1.13.14 - Paul Eggert, 1999-11-07.
  148. * New translations ja, pt_BR.
  149. * New options --help and --version for rmt.
  150. * Ignore Solaris door files when creating an archive.
  151. version 1.13.13 - Paul Eggert, 1999-10-11.
  152. * Invalid headers in tar files now elicit errors, not just warnings.
  153. * `tar --version' output conforms to the latest GNU coding standards.
  154. * If you specify an invalid date, `tar' now substitutes (time_t) -1.
  155. * `configure --with-dmalloc' is no longer available.
  156. version 1.13.12 - Paul Eggert, 1999-09-24.
  157. * `tar' now supports hard links to symbolic links.
  158. * New options --no-same-owner, --no-same-permissions.
  159. * --total now also outputs a human-readable size, and a throughput value.
  160. * `tar' now uses two's-complement base-256 when outputting header
  161. values that are out of the range of the standard unsigned base-8
  162. format. This affects archive members with negative or huge time
  163. stamps or uids, and archive members 8 GB or larger. The new tar
  164. archives cannot be read by traditional tar, or by older versions of
  165. GNU tar. Use the --old-archive option to revert to the old
  166. behavior, which uses unportable representations for negative values,
  167. and which rejects large files.
  168. * On 32-bit hosts, `tar' now assumes that an incoming time stamp T in
  169. the range 2**31 <= T < 2**32 represents the negative time (T -
  170. 2**32). This behavior is nonstandard and is not portable to 64-bit
  171. time_t hosts, so `tar' issues a warning.
  172. * `tar' no longer gives up extracting immediately upon discovering
  173. that an archive contains garbage at the end. It attempts to extract
  174. as many files as possible from the good data before the garbage.
  175. * A read error now causes a nonzero exit status, not just a warning.
  176. * Some diagnostics have been reworded for consistency.
  177. version 1.13.11 - Paul Eggert, 1999-08-23.
  178. * The short name of the --bzip option has been changed to -I,
  179. for compatibility with paxutils.
  180. * -T /dev/null now matches nothing; previously, it matched anything
  181. if no explicit operands were given.
  182. * The `--' option now works the same as with other GNU utilities;
  183. it causes later operands to be interpreted as file names, not options,
  184. even if they begin with `-'.
  185. * For the --newer and --after-date options, the table of time zone
  186. abbreviations like `EST' has been updated to match current practice.
  187. Also, local time abbreviations are now recognized, even if they are
  188. not in tar's hardwired table. Remember, though, that you should use
  189. numeric UTC offsets like `-0500' instead of abbreviations like
  190. `EST', as abbreviations are not standardized and are ambiguous.
  191. version 1.13.10 - Paul Eggert, 1999-08-20.
  192. * `tar' now uses signed base-64 when outputting header values that are
  193. out of the range of the standard unsigned base-8 format. [This
  194. change was superseded in 1.13.12, described above.]
  195. version 1.13.9 - Paul Eggert, 1999-08-18.
  196. * `tar' now writes two zero blocks at end-of-archive instead of just one.
  197. POSIX.1 requires this, and some other `tar' implementations check for it.
  198. * `tar' no longer silently accepts a block containing nonzero checksum bytes
  199. as a zero block.
  200. * `tar' now reads buggy tar files that have a null byte at the start of a
  201. numeric header field.
  202. version 1.13.8 - Paul Eggert, 1999-08-16.
  203. * For compatibility with traditional `tar', intermediate directories
  204. created automatically by root are no longer given the uid and gid of
  205. the original file or directory.
  206. version 1.13.7 - Paul Eggert, 1999-08-14.
  207. * --listed-incremental and --newer are now incompatible options.
  208. * When creating an archive, leading `./' is no longer stripped,
  209. to match traditional tar's behavior (and simplify the documentation).
  210. * --diff without --absolute-names no longer falls back on absolute names.
  211. version 1.13.6 - Paul Eggert, 1999-08-11.
  212. * An --exclude pattern containing / now excludes a file only if it matches an
  213. initial prefix of the file name; a pattern without / continues to
  214. exclude a file if it matches any file name component.
  215. * The protocol for talking to rmt has been extended slightly.
  216. Open flags are now communicated in symbolic format as well as numeric.
  217. The symbolic format (e.g. "O_WRONLY|O_CREAT|O_TRUNC") is for portability
  218. when rmt is operating on a different operating system from tar.
  219. The numeric format is retained, and rmt uses it if symbolic format is absent,
  220. for backward compatibility with older versions of tar and rmt.
  221. * When writing GNU tar format headers, tar now uses signed base-64
  222. for values that cannot be represented in unsigned octal.
  223. This supports larger files (2**66 - 1 bytes instead of 2**33 - 1 bytes),
  224. larger uids, negative time stamps, etc.
  225. * When extracting files with unknown ownership, tar now looks up the
  226. uid and gid "nobody" on hosts whose headers do not define UID_NOBODY
  227. and GID_NOBODY, and falls back on uid/gid -2 if there is no "nobody".
  228. * tar -t --numeric-owner now prints numeric uids and gids, not symbolic.
  229. * New option -y or --bzip2 for bzip2 compression, by popular request.
  230. version 1.13.5 - Paul Eggert, 1999-07-20.
  231. * Do the delayed updates of file metadata even after a fatal error.
  232. version 1.13.4 - Paul Eggert, 1999-07-20.
  233. * Do not chmod unless we are root or the -p option was given;
  234. this matches historical practice.
  235. version 1.13.3 - Paul Eggert, 1999-07-16.
  236. * A path name is excluded if any of its file name components matches an
  237. excluded pattern, even if the path name was specified on the command line.
  238. Also see 1.13.6 for later changes in this area.
  239. version 1.13.2 - Paul Eggert, 1999-07-14.
  240. * Bug reporting address changed to <[email protected]>.
  241. version 1.13.1 - Paul Eggert, 1999-07-12.
  242. * Bug fixes only.
  243. version 1.13 - Paul Eggert, 1999-07-08.
  244. * Support for large files, e.g. files larger than 2 GB on many 32-bit hosts.
  245. Also, support for larger uids, device ids, etc.
  246. * Many bug fixes and porting fixes.
  247. * This release is only for fixes. A more ambitious test release,
  248. with new features, is available as part of the paxutils. Please see:
  249. ftp://alpha.gnu.org/gnu/paxutils/
  250. The fixes in this release are intended to be merged with paxutils
  251. at some point, but they haven't been merged yet.
  252. * An interim GNU tar alpha had new --bzip2 and --ending-file options,
  253. but they have been removed to maintain compatibility with paxutils.
  254. Please try --use=bzip2 instead of --bzip2.
  255. Version 1.12 - François Pinard, 1997-04.
  256. Sensitive matters
  257. * Use shell globbing patterns for --label, instead of regular expressions.
  258. * Do not quote anymore internally over the quoting done by the shell.
  259. Output for humans
  260. * Offer internationalization capabilities of most recent GNU gettext.
  261. * Messages available in many more languages, thanks to all translators!
  262. * Usage of ISO 8601 dates in listings, instead of local American dates.
  263. * More normalization and cleanup in error messages.
  264. Creation
  265. * For helping using tar with find, offer a --no-recursion option.
  266. * Implement --numeric-owner for ignoring symbolic names at create time.
  267. * New --owner, --group --mode options, still preliminary.
  268. * Recognize creating an archive on /dev/null, so Amanda works faster.
  269. * Object to the creation of an empty archive (like in `tar cf FILE').
  270. * Barely start implementing --posix and POSIXLY_CORRECT.
  271. Extraction
  272. * Make a better job at restoring file and directory attributes.
  273. * Automatically attempt deleting existing files when in the way.
  274. * Option --unlink-first (-U) removes most files prior to extraction.
  275. * Option --recursive-unlink removes non-empty directories when in the way.
  276. * Option --numeric-owner ignores owner/group names, it uses UID/GID instead.
  277. * Use global umask when creating missing intermediate directories.
  278. * When symlinks are not available, extract symbolic links as hard links.
  279. * Diagnose extraction of contiguous files as regular files.
  280. * New --backup, --suffix and --version-control options.
  281. Various changes
  282. * Better support of huge archives with --tape-length and --totals.
  283. * Rename option --read-full-blocks (-B) to --read-full-records (-B).
  284. * Rename option --block-size (-b) to --blocking-factor (-b).
  285. * Rename option --record-number (-R) to --block-number (-R).
  286. * With --block-number (-R), report null blocks and end of file.
  287. * Implement --record-size for introducing a size in bytes.
  288. * Delete --block-compress option and rather decide it automatically.
  289. * Rename option --modification-time to --touch.
  290. Many bugs are squashed, while others still run free.
  291. Version 1.11.8 - François Pinard, 1995-06.
  292. * Messages available in French, German, Portuguese and Swedish.
  293. * The distribution provides a rudimentary Texinfo manual.
  294. * The device defaults to stdin/stdout, unless overridden by the installer.
  295. * Option --sparse (-S) should work on more systems.
  296. * Option --rsh-command may select an alternative remote shell program.
  297. Most changes are internal, and should yield better portability.
  298. Version 1.11.2 - Michael Bushnell, 1993-03.
  299. * Changes in backup scripts: cleaned up considerably; notices error
  300. conditions better over rsh; DUMP_REMIND_SCRIPT is now an option in
  301. backup-specs; new file dump-remind is an example of a
  302. DUMP_REMIND_SCRIPT.
  303. * Superfluous "Reading dirname" was a bug; fixed.
  304. * Incompatibility problems with a bug on Solaris are fixed.
  305. * New option --gzip (aliases are --ungzip and -z); calls gzip instead
  306. of compress. Also, --use-compress-program lets you specify any
  307. compress program. --compress-block is renamed --block-compress and
  308. now requires one of the three compression options to be specified.
  309. * Several error messages are cleaned up.
  310. * Directory owners are now set properly when running as root.
  311. * Provide DUMP_REMIND_SCRIPT in backup-specs as a possible option
  312. for --info-script.
  313. * Behave better with broken rmt servers.
  314. * Dump scripts no longer use --atime-preserve; this causes a nasty probem.
  315. * Several Makefile cleanups.
  316. Version 1.11.1 - Michael Bushnell, 1992-09.
  317. * Many bug fixes.
  318. Version 1.11 - Michael Bushnell, 1992-09.
  319. Version 1.10.16 - 1992-07.
  320. Version 1.10.15 - 1992-06.
  321. Version 1.10.14 - 1992-05.
  322. Version 1.10.13 - 1992-01.
  323. * Many bug fixes.
  324. * Now uses GNU standard configure, generated by Autoconf.
  325. * Long options now use `--'; use of `+' is deprecated and support
  326. for it will eventually be removed.
  327. * New option --null causes filenames read by -T to be
  328. null-terminated, and causes -C to be ignored.
  329. * New option --remove-files deletes files (but not directories)
  330. after they are added to the archive.
  331. * New option --ignore-failed-read prevents read-errors from affecting
  332. the exit status.
  333. * New option --checkpoint prints occasional messages as the tape
  334. is being read or written.
  335. * New option --show-omitted-dirs prints the names of directories
  336. omitted from the archive.
  337. * Some tape drives which use a non-standard method of indicating
  338. end-of-tape now work correctly with multi-tape archives.
  339. * --volno-file: Read the volume number used in prompting the user
  340. (but not in recording volume ID's on the archive) from a file.
  341. * When using --multi-volume, you can now give multiple -f arguments;
  342. the various tape drives will get used in sequence and then wrap
  343. around to the beginning.
  344. * Remote archive names no longer have to be in /dev: any file with a
  345. `:' is interpreted as remote. If new option --force-local is given,
  346. then even archive files with a `:' are considered local.
  347. * New option --atime-preserve restores (if possible) atimes to
  348. their original values after dumping the file.
  349. * No longer does tar confusingly dump "." when you don't tell it
  350. what to dump.
  351. * When extracting directories, tar now correctly restores their
  352. modification and access times.
  353. * Longnames support is redone differently--long name info directly
  354. precedes the long-named file or link in the archive, so you no
  355. longer have to wait for the extract to hit the end of the tape for
  356. long names to work.
  357. Version 1.10 - Michael Bushnell, 1991-07.
  358. * Filename to -G is optional. -C works right. Names +newer and
  359. +newer-mtime work right.
  360. * -g is now +incremental, -G is now +listed-incremental.
  361. * Sparse files now work correctly.
  362. * +volume is now called +label.
  363. * +exclude now takes a filename argument, and +exclude-from does
  364. what +exclude used to do.
  365. * Exit status is now correct.
  366. * +totals keeps track of total I/O and prints it when tar exits.
  367. * When using +label with +extract, the label is now a regexp.
  368. * New option +tape-length (-L) does multi-volume handling like BSD
  369. dump: you tell tar how big the tape is and it will prompt at that
  370. point instead of waiting for a write error.
  371. * New backup scripts level-0 and level-1 which might be useful
  372. to people. They use a file "backup-specs" for information, and
  373. shouldn't need local modification. These are what we use to do
  374. all our backups at the FSF.
  375. Version 1.09 - Jay Fenlason, 1990-10.
  376. Version 1.08 - Jay Fenlason, 1990-01.
  377. Versions 1.07 back to 1.00 by Jay Fenlason.
  378. * See ChangeLog for more details.
  379. Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2003
  380. Free Software Foundation, Inc.
  381. This file is part of GNU tar.
  382. GNU tar is free software; you can redistribute it and/or modify
  383. it under the terms of the GNU General Public License as published by
  384. the Free Software Foundation; either version 2, or (at your option)
  385. any later version.
  386. GNU tar is distributed in the hope that it will be useful,
  387. but WITHOUT ANY WARRANTY; without even the implied warranty of
  388. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  389. GNU General Public License for more details.
  390. You should have received a copy of the GNU General Public License
  391. along with tar; see the file COPYING. If not, write to
  392. the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
  393. Boston, MA 02111-1307, USA.
  394. Local variables:
  395. mode: outline
  396. paragraph-separate: "[ ]*$"
  397. end: