summaryrefslogtreecommitdiffstats
path: root/bin/pax/pax.1
diff options
context:
space:
mode:
authoreadler <eadler@FreeBSD.org>2015-03-18 05:48:05 +0000
committereadler <eadler@FreeBSD.org>2015-03-18 05:48:05 +0000
commit5fa0e1ff08130a3f4e8a4da813b9977a02de0026 (patch)
treef5bf9070f8c94de3822d396884696faf864b2d0b /bin/pax/pax.1
parent8dff590977102386321a56d565844a39fecd3866 (diff)
downloadFreeBSD-src-5fa0e1ff08130a3f4e8a4da813b9977a02de0026.zip
FreeBSD-src-5fa0e1ff08130a3f4e8a4da813b9977a02de0026.tar.gz
Implement pax -O option to permit limiting a PAX archive to a single volume.
-O Force the archive to be one volume. If a volume ends prematurely, pax will not prompt for a new volume. PR: 198481 Submitted by: Sevan Janiyan Reviewed by: allanjude (doc)
Diffstat (limited to 'bin/pax/pax.1')
-rw-r--r--bin/pax/pax.118
1 files changed, 13 insertions, 5 deletions
diff --git a/bin/pax/pax.1 b/bin/pax/pax.1
index aa3025a..c2e1731 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 December 21, 2013
+.Dd March 17, 2015
.Dt PAX 1
.Os
.Sh NAME
@@ -41,7 +41,7 @@
.Nd read and write file archives and copy directory hierarchies
.Sh SYNOPSIS
.Nm
-.Op Fl cdnvz
+.Op Fl cdnvzO
.Bk -words
.Op Fl f Ar archive
.Ek
@@ -68,7 +68,7 @@
.Op Ar pattern ...\&
.Nm
.Fl r
-.Op Fl cdiknuvzDYZ
+.Op Fl cdiknuvzDOYZ
.Bk -words
.Op Fl f Ar archive
.Ek
@@ -104,7 +104,7 @@
.Op Ar pattern ...\&
.Nm
.Fl w
-.Op Fl dituvzHLPX
+.Op Fl dituvzHLOPX
.Bk -words
.Op Fl b Ar blocksize
.Ek
@@ -147,7 +147,7 @@
.Nm
.Fl r
.Fl w
-.Op Fl diklntuvDHLPXYZ
+.Op Fl diklntuvDHLOPXYZ
.Bk -words
.Op Fl p Ar string
.Ar ...\&
@@ -853,6 +853,13 @@ Follow only command line symbolic links while performing a physical file
system traversal.
.It Fl L
Follow all symbolic links to perform a logical file system traversal.
+.It Fl O
+Force the archive to be one volume.
+If a volume ends prematurely,
+.Nm
+will not prompt for a new volume.
+This option can be useful for
+automated tasks where error recovery cannot be performed by a human.
.It Fl P
Do not follow symbolic links, perform a physical file system traversal.
This is the default mode.
@@ -1176,6 +1183,7 @@ The options
.Fl G ,
.Fl H ,
.Fl L ,
+.Fl O ,
.Fl P ,
.Fl T ,
.Fl U ,
OpenPOWER on IntegriCloud