summaryrefslogtreecommitdiffstats
path: root/usr.sbin/pkg_install/create/pkg_create.1
diff options
context:
space:
mode:
authorjkh <jkh@FreeBSD.org>1997-07-01 06:13:51 +0000
committerjkh <jkh@FreeBSD.org>1997-07-01 06:13:51 +0000
commitee55475a0f2a0c7391240ed7c9adc2b5a6e10a94 (patch)
tree0bc137577fb61dd8c8d58f35374873f1f35c4526 /usr.sbin/pkg_install/create/pkg_create.1
parent3f044120cdb6253359462b5085756fca82a23d1c (diff)
downloadFreeBSD-src-ee55475a0f2a0c7391240ed7c9adc2b5a6e10a94.zip
FreeBSD-src-ee55475a0f2a0c7391240ed7c9adc2b5a6e10a94.tar.gz
Change the naming conventions for preserve'd files and also document
the option in pkg_create. Now preserved files start with a . and are named .<filename>.<pkgname>.backup so that their purpose is more clear. Note that just using the preserve option without proper pkg_deps is also foolish since packages being deleted in the incorrect order with preserve on can generate some odd results.
Diffstat (limited to 'usr.sbin/pkg_install/create/pkg_create.1')
-rw-r--r--usr.sbin/pkg_install/create/pkg_create.114
1 files changed, 13 insertions, 1 deletions
diff --git a/usr.sbin/pkg_install/create/pkg_create.1 b/usr.sbin/pkg_install/create/pkg_create.1
index 1d838b8..d2ccdb7 100644
--- a/usr.sbin/pkg_install/create/pkg_create.1
+++ b/usr.sbin/pkg_install/create/pkg_create.1
@@ -15,7 +15,7 @@
.\"
.\"
.\" @(#)pkg_create.1
-.\" $Id: pkg_create.1,v 1.19 1997/05/02 22:00:05 max Exp $
+.\" $Id: pkg_create.1,v 1.20 1997/06/19 15:18:29 jkh Exp $
.\"
.\" hacked up by John Kohl for NetBSD--fixed a few bugs, extended keywords,
.\" added dependency tracking, etc.
@@ -278,6 +278,18 @@ Format is the same as that used by the
command (well, considering that it's later handed off to it, that's
no surprise). Use without an arg to set back to default (extraction)
permissions.
+.It Cm @option Ar option
+Sets internal package options, the only two currently supported ones
+being
+.Ar extract-in-place ,
+which tells the pkg_add command not to extract the package's tarball
+into a staging area but rather directly into the target
+hierarchy (this is typically meant to be used only by distributions
+or other special package types), and
+.Ar preserve ,
+which tells pkg_add to move any existing files out of the way,
+preserving the previous contents (which are also resurrected on
+pkg_delete, so caveat emptor).
.It Cm @owner Ar user
Sets default ownership for all subsequently extracted files to
.Ar user .
OpenPOWER on IntegriCloud