| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
apparently fails to do it.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
| |
Both files used to be identical previously, so they are again now.
|
| |
|
|
|
|
|
| |
"volume" instead of tape. Running cpio off of /dev/fd0 and having
it say "give me the next tape" is kind of ludicrous.. :-)
|
|
|
|
|
|
| |
sparsely stored linked files correctly.
Submitted by: haug@conterra.com (Brian R. Haug)
|
| |
|
| |
|
|
|
|
|
| |
stops regular files with unrepresentable rdevs from being rejected
and makes the output independent of unpreservable metadata.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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).
|
| |
|
|
|
|
| |
Reviewed by: phk
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
with SYSV cpio. It's also supposed to integrate rmt support, though
I haven't tried this.
|