summaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
authorJason McIntyre <jmc@cvs.openbsd.org>2008-06-13 23:56:29 +0000
committerJason McIntyre <jmc@cvs.openbsd.org>2008-06-13 23:56:29 +0000
commitb0c5cd7c50c9b618f68903921a9b48474677bdae (patch)
treefbe890d3f20c28802346df6690fb318b094961a4 /usr.sbin
parente46adcb471b97003a3c138400d939759d5a007ec (diff)
tweak previous;
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/rpc.lockd/lockd.c4
-rw-r--r--usr.sbin/rpc.lockd/rpc.lockd.812
2 files changed, 7 insertions, 9 deletions
diff --git a/usr.sbin/rpc.lockd/lockd.c b/usr.sbin/rpc.lockd/lockd.c
index effd860178e..206651b352d 100644
--- a/usr.sbin/rpc.lockd/lockd.c
+++ b/usr.sbin/rpc.lockd/lockd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: lockd.c,v 1.9 2008/06/13 21:32:26 sturm Exp $ */
+/* $OpenBSD: lockd.c,v 1.10 2008/06/13 23:56:28 jmc Exp $ */
/*
* Copyright (c) 1995
@@ -186,5 +186,5 @@ sigalarm_handler(int s)
static void
usage()
{
- errx(1, "usage: rpc.lockd [-d <debuglevel>] [-g <grace period>]");
+ errx(1, "usage: rpc.lockd [-d [debug_level]] [-g grace_period]");
}
diff --git a/usr.sbin/rpc.lockd/rpc.lockd.8 b/usr.sbin/rpc.lockd/rpc.lockd.8
index 642c6c90cab..82b6fef747d 100644
--- a/usr.sbin/rpc.lockd/rpc.lockd.8
+++ b/usr.sbin/rpc.lockd/rpc.lockd.8
@@ -1,4 +1,4 @@
-.\" $OpenBSD: rpc.lockd.8,v 1.12 2008/06/13 21:32:26 sturm Exp $
+.\" $OpenBSD: rpc.lockd.8,v 1.13 2008/06/13 23:56:28 jmc Exp $
.\"
.\" Copyright (c) 1995 A.R.Gordon, andrew.gordon@net-tel.co.uk
.\" All rights reserved.
@@ -41,7 +41,7 @@
.Sh SYNOPSIS
.Nm rpc.lockd
.Op Fl d Op Ar debug_level
-.Op Fl g Op Ar grace period
+.Op Fl g Ar grace_period
.Sh DESCRIPTION
.Nm rpc.lockd
is a daemon which provides file- and record-locking services in an NFS
@@ -62,15 +62,13 @@ is not specified,
level 1 is assumed, giving one log line per protocol operation.
Higher debug levels can be specified, causing display of operation arguments
and internal operations of the daemon.
-.It Fl g
-The
-.Fl g
-option allows to specify the grace period, in seconds.
+.It Fl g Ar grace_period
+Specify the grace period, in seconds.
During the grace period
.Nm
only accepts requests from hosts which are reinitialising locks which
existed before the server restart.
-Default is 30 seconds.
+The default is 30 seconds.
.El
.Pp
Error conditions are logged to syslog, irrespective of the debug level,