Commit Graph

23 Commits

Author SHA1 Message Date
obrien
012febea2a Added to RELENG_2_2 via tagging. 1997-08-21 08:26:55 +00:00
obrien
53af8e0438 Bmake Makefile for building info files for GNU cpio. 1997-04-03 11:20:39 +00:00
obrien
9058d2928c Bmake Makefiles for GNU cpio. 1997-04-03 11:20:09 +00:00
obrien
6a670141fd Make way for FreeBSD files with CPIO bits in src/contrib/cpio 1997-04-03 11:16:57 +00:00
peter
c4807cce90 Toast dummy lchown(), it's in libc now. 1997-03-31 12:56:00 +00:00
obrien
a58719acdf FreeBSD modifications and notes for GNU cpio. 1997-03-26 20:01:24 +00:00
mpp
136fab770c Don't set the umask until after we have processed the arguments
and opened the archive file.  This allows "cpio -o -O output_file"
to create the output file with the callers proper umask.
Closes PR# 1391.
1997-02-25 06:11:19 +00:00
jdp
b93e66c284 Correct the recommended option for "find" from "-depth" to "-d". 1997-02-08 21:47:55 +00:00
joerg
328d3170fd Merge tar's version of rtapelib, namely the changes as of rev 1.2.
Both files used to be identical previously, so they are again now.
1996-12-08 14:19:50 +00:00
ache
f978cfe81f Localization fixes. 1996-08-15 22:11:36 +00:00
jkh
43a1e330ac Change "Found end of tape. Load next tape ..." messages to say
"volume" instead of tape.  Running cpio off of /dev/fd0 and having
it say "give me the next tape" is kind of ludicrous.. :-)
1996-04-24 21:20:17 +00:00
joerg
f80020a36d Fix an infinite loop for empty files in the archive, and handle
sparsely stored linked files correctly.

Submitted by:	haug@conterra.com (Brian R. Haug)
1996-03-18 23:08:29 +00:00
peter
ab124e78b0 recording cvs-1.6 file death 1995-12-30 19:02:48 +00:00
ache
f750dd362a Add setlocale LC_ALL 1995-10-26 11:12:39 +00:00
bde
05ba622830 Output a zero rdev except for bdevs, cdevs, fifos and sockets. This
stops regular files with unrepresentable rdevs from being rejected
and makes the output independent of unpreservable metadata.
1995-09-12 16:38:16 +00:00
ache
9610e91949 Replace ctime by strftime %c to use national representation 1995-08-08 03:20:25 +00:00
bde
f0ca90235f 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
rgrimes
2ad6f3dee6 Remove trailing whitespace. 1995-05-30 05:05:38 +00:00
rgrimes
c8b5737b63 Add dummy lchown function so that cpio understands 4.4 symbolic links.
Reviewed by:	phk
1995-03-17 07:52:23 +00:00
wollman
a7daa1ed08 Use __GNU_P not __P. 1994-08-04 20:57:07 +00:00
jkh
30d7ba45a9 Fix gross spelling and typographical errors pointed out by Keith Bostic. 1994-04-24 01:22:07 +00:00
jkh
6dd0fdbdcc From: Piero Serini <piero@strider.st.dsi.unimi.it>
Message-Id: <199402111717.SAA05326@strider.st.dsi.unimi.it>
Subject: Re: cpio bug ?
Quoting from J Wunsch:
> | From the man page:
> |
> |        -l, --link
> |               Link  files instead of copying them, when possible.
>
>                (Usable only with the -p option.)
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
This is not in cpio man page. Someone please add it.
1994-02-12 23:51:38 +00:00
jkh
b879e50236 This is GNU cpio 2.3. It handles tar files and is fully compatible
with SYSV cpio.  It's also supposed to integrate rmt support, though
I haven't tried this.
1993-08-07 22:33:48 +00:00