freebsd-dev/gnu/usr.bin/tar
Bruce Evans d1e00e9390 Improve the handling of large minor numbers:
cpio/copyout.c:
Don't output a file if the major, minor or totality of its rdev would be
truncated.  Print a message about the skipped files to stderr but don't
report the error in the exit status.  cpio's abysmal error handling doesn't
allow continuing after an error, and the rdev checks had to be misplaced
to avoid the problem of returning an error code from routines that return
void.

pax/pax.h:
Use the system macros for major(), minor() and makedev().

pax already checks _all_ output conversions for overflow.  This has the
undesirable effect that failure to convert relatively useless fields
such as st_dev for regular files causes files not to be output.  pax
doesn't report exactly which fields couldn't be converted.

tar/create.c:
Don't output a file if the major or minor its rdev would be truncated.
Print a message about the skipped files to stderr and report the error
in the exit status.

tar/tar.c:
For not immediately fatal errors, exit with status 1, not the error count
(mod 256).

All:
Minor numbers are limited to 21 bits in pax's ustar format and to 18
bits in archives created by gnu tar (gnu tar wastes 3 bits for padding).
pax's and cpio's ustar format is incompatible with gnu tar's ustar
format for other reasons (see cpio/README).
1995-06-26 06:24:48 +00:00
..
buffer.c
ChangeLog
COPYING
create.c Improve the handling of large minor numbers: 1995-06-26 06:24:48 +00:00
diffarch.c
extract.c Remove trailing whitespace. 1995-05-30 05:05:38 +00:00
fnmatch.c
fnmatch.h
getdate.y
getoldopt.c
getopt1.c Remove trailing whitespace. 1995-05-30 05:05:38 +00:00
getopt.c Remove trailing whitespace. 1995-05-30 05:05:38 +00:00
getopt.h Remove trailing whitespace. 1995-05-30 05:05:38 +00:00
getpagesize.h
gnu.c
list.c Remove trailing whitespace. 1995-05-30 05:05:38 +00:00
Makefile
Makefile.gnu Remove trailing whitespace. 1995-05-30 05:05:38 +00:00
mangle.c
msd_dir.h
names.c
open3.h
pathmax.h
port.c Remove trailing whitespace. 1995-05-30 05:05:38 +00:00
port.h
README
regex.c
regex.h
rmt.h
rtapelib.c
tar.1
tar.c Improve the handling of large minor numbers: 1995-06-26 06:24:48 +00:00
tar.h
update.c
version.c
y.tab.h

Hey!  Emacs!  Yo!  This is -*- Text -*- !!!

This GNU tar 1.11.2.  Please send bug reports, etc., to
bug-gnu-utils@prep.ai.mit.edu.  This is a beta-test release.  Please
try it out.  There is no manual; the release of version 1.12 will
contain a manual.

GNU tar is based heavily on John Gilmore's public domain tar, but with
added features.  The manual is currently being written.  

This distribution also includes rmt, the remote tape server (which
normally must reside in /etc).  The mt tape drive control program is
in the GNU cpio distribution.

See the file INSTALL for compilation and installation instructions for Unix.
See the file NEWS for information on all that is new in this version
of tar.

makefile.pc is a makefile for Turbo C 2.0 on MS-DOS.

Various people have been having problems using floppies on a NeXT.  In
order to have them work right, you need to kill the automounting
program which tries to monut floppies as soon as they are added.

If you want to do incremental dumps, use the distributed backup
scripts.  They are what we use at the FSF to do all our backups.  Most
importantly, do not use --incremental (-G) or --after-date (-N) or
--newer-mtime to do incremental dumps.  The only option that works
correctly for this purpose is --listed-incremental.  (When extracting
incremental dumps, use --incremental (-G).)

If your system needs to link with -lPW to get alloca, but has
rename in the C library (so HAVE_RENAME is defined), -lPW might
give you an incorrect version of rename.  On HP-UX this manifests
itself as an undefined data symbol called "Error" when linking cp, ln,
and mv.  If this happens, use `ar x' to extract alloca.o from libPW.a
and `ar rc' to put it in a library liballoca.a, and put that in LIBS
instead of -lPW.  This problem does not occur when using gcc, which
has alloca built in.