summaryrefslogtreecommitdiffstats
path: root/contrib/cpio/cpio.1
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>1997-03-30 10:34:16 +0000
committerobrien <obrien@FreeBSD.org>1997-03-30 10:34:16 +0000
commit3bca94d06ee39468414ff052f3006666d3f60089 (patch)
tree15891b26306c4326f54d661a4ac09d2cb56b21a2 /contrib/cpio/cpio.1
parent3fecf166e7ad99cb6a69e3bdf653e4cfcc5ca8d5 (diff)
downloadFreeBSD-src-3bca94d06ee39468414ff052f3006666d3f60089.zip
FreeBSD-src-3bca94d06ee39468414ff052f3006666d3f60089.tar.gz
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. 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. 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). Submitted by: bde via old gnu/usr.bin/cpio v2.3.
Diffstat (limited to 'contrib/cpio/cpio.1')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud