summaryrefslogtreecommitdiffstats
path: root/usr.sbin/pwd_mkdb/pwd_mkdb.8
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2004-07-21 17:38:04 +0000
committerimp <imp@FreeBSD.org>2004-07-21 17:38:04 +0000
commit697fd69b851e325aff839d56bd1bda29af5b50f5 (patch)
treefda3fc992608d758e04a139ceeb5bd23c85a9792 /usr.sbin/pwd_mkdb/pwd_mkdb.8
parentfc96a672a7a0b1968e7ace3d7393d759e113144a (diff)
downloadFreeBSD-src-697fd69b851e325aff839d56bd1bda29af5b50f5.zip
FreeBSD-src-697fd69b851e325aff839d56bd1bda29af5b50f5.tar.gz
Add support for ignoring locking failures. This is only enabled when
you've specified a directory. It is intended to be used in building custom releases over NFS where locking may be unreliable at best and there is no contention that the locking is designed to arbitrate. Other uses of this flag are discouraged. Document same in usage and man page (including the warning about unwise). Sponsored by: Timing Solutions
Diffstat (limited to 'usr.sbin/pwd_mkdb/pwd_mkdb.8')
-rw-r--r--usr.sbin/pwd_mkdb/pwd_mkdb.811
1 files changed, 11 insertions, 0 deletions
diff --git a/usr.sbin/pwd_mkdb/pwd_mkdb.8 b/usr.sbin/pwd_mkdb/pwd_mkdb.8
index 9d47412..a29ab4e 100644
--- a/usr.sbin/pwd_mkdb/pwd_mkdb.8
+++ b/usr.sbin/pwd_mkdb/pwd_mkdb.8
@@ -43,6 +43,7 @@
.Op Fl C
.Op Fl N
.Op Fl p
+.Op Fl i
.Op Fl d Ar directory
.Op Fl s Ar cachesize
.Op Fl u Ar username
@@ -82,6 +83,16 @@ the rebuilding of the database.
.It Fl p
Create a Version 7 style password file and install it into
.Pa /etc/passwd .
+.It Fl i
+Ignore locking failure of the
+.Pa master.passwd
+file.
+This option is intended to be used to build password files in
+the release process over NFS where no contention can happen.
+A non-default directory must also be specified with the
+.Fl d
+option for locking to be ignored.
+Other use of this option is strongly discouraged.
.It Fl d Ar directory
Store databases into specified destination directory instead of
.Pa /etc .
OpenPOWER on IntegriCloud