summaryrefslogtreecommitdiffstats
path: root/usr.sbin/rpc.lockd
diff options
context:
space:
mode:
authorjmc <jmc@openbsd.org>2008-06-13 23:56:28 +0000
committerjmc <jmc@openbsd.org>2008-06-13 23:56:28 +0000
commitf4818cf8d4f340a66769b6f25eddee6edf4b7ae9 (patch)
tree48d0b062e74c8c4df665af7b7de078619fecda48 /usr.sbin/rpc.lockd
parentPass relocated Elf_Dyn * to _dl_finalize_object(). Needed for pie (diff)
downloadwireguard-openbsd-f4818cf8d4f340a66769b6f25eddee6edf4b7ae9.tar.xz
wireguard-openbsd-f4818cf8d4f340a66769b6f25eddee6edf4b7ae9.zip
tweak previous;
Diffstat (limited to 'usr.sbin/rpc.lockd')
-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,