From 697fd69b851e325aff839d56bd1bda29af5b50f5 Mon Sep 17 00:00:00 2001 From: imp Date: Wed, 21 Jul 2004 17:38:04 +0000 Subject: 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 --- usr.sbin/pwd_mkdb/pwd_mkdb.8 | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'usr.sbin/pwd_mkdb/pwd_mkdb.8') 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 . -- cgit v1.1