Skip to content

Commit

Permalink
Add a note that the use of -B option does not guarantee a size of fra…
Browse files Browse the repository at this point in the history
…gment

if -z option also used.

Recommend the use of zip(1) if compressed files of predictable size needed.

PR:			docs/41089
Submitted by:		Sevan Janiyan
Reported by:		[email protected]

While here, pet igor

Reviewed by:		bcr
Differential Revision:	https://reviews.freebsd.org/D18686
  • Loading branch information
crees committed Dec 29, 2018
1 parent 47afbdf commit 665441b
Showing 1 changed file with 13 additions and 3 deletions.
16 changes: 13 additions & 3 deletions bin/pax/pax.1
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
.\" @(#)pax.1 8.4 (Berkeley) 4/18/94
.\" $FreeBSD$
.\"
.Dd March 17, 2015
.Dd December 29, 2018
.Dt PAX 1
.Os
.Sh NAME
Expand Down Expand Up @@ -793,6 +793,16 @@ limits can be separated by
.Li x
to indicate a product.
.Pp
Note that the specified size is for the uncompressed pax image itself.
If the
.Fl z
option is also used, the resulting file may contain fewer
.Ar bytes ,
according to the compressibility of the archive contents.
See
.Xr zip 1
if compressed volumes of predictable size are required.
.Pp
.Em Warning :
Only use this option when writing an archive to a device which supports
an end of file read condition based on last (or largest) write offset
Expand All @@ -804,7 +814,7 @@ This option is the same as the
option, except that the file inode change time is checked instead of the
file modification time.
The file inode change time can be used to select files whose inode information
(e.g.\& uid, gid, etc.) is newer than a copy of the file in the destination
(e.g., uid, gid, etc.) is newer than a copy of the file in the destination
.Ar directory .
.It Fl E Ar limit
Limit the number of consecutive read faults while trying to read a flawed
Expand Down Expand Up @@ -903,7 +913,7 @@ the file was last written).
The
.Ar c
specifies the comparison of inode change time (the time when the file
inode was last changed; e.g.\& a change of owner, group, mode, etc).
inode was last changed; e.g., a change of owner, group, mode, etc).
When
.Ar c
and
Expand Down

0 comments on commit 665441b

Please sign in to comment.