From 64e8790d7e9393fb1a056a94fe420bfb789e10b7 Mon Sep 17 00:00:00 2001 From: Chris Rees Date: Sat, 29 Dec 2018 23:08:59 +0000 Subject: [PATCH] Add a note that the use of -B option does not guarantee a size of fragment 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: areilly@bigpond.net.au While here, pet igor Reviewed by: bcr Differential Revision: https://reviews.freebsd.org/D18686 --- bin/pax/pax.1 | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/bin/pax/pax.1 b/bin/pax/pax.1 index 1ab4bfcbe24e..2cc7a694a710 100644 --- a/bin/pax/pax.1 +++ b/bin/pax/pax.1 @@ -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 @@ -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 @@ -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 @@ -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