diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 1995-12-14 01:33:27 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 1995-12-14 01:33:27 +0000 |
commit | 3dca9a674e68d750a9f0b19542059cb99336b341 (patch) | |
tree | 2cfae09d9641a6ff0863ab2fd4ae6dae855baf84 /sbin/mountd/mountd.8 | |
parent | f8ed032d6bb4d6286567afa1b085d1972ac9794c (diff) |
from netbsd:
Don't require compiling with -DDEBUG to enable debugging messages. Instead,
add a new option flag "-d", which enables debugging output. Compile all
of the code that used to be enabled with -DDEBUG unconditionally. The
amount of extra code is negligable, and all of the tests to check if
debugging is enabled were done regardless of -DDEBUG anyway. Adjust
SYSLOG() to DTRT if debugging is not enabled.
Diffstat (limited to 'sbin/mountd/mountd.8')
-rw-r--r-- | sbin/mountd/mountd.8 | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/sbin/mountd/mountd.8 b/sbin/mountd/mountd.8 index 423e8df2e59..1ed6cb47af8 100644 --- a/sbin/mountd/mountd.8 +++ b/sbin/mountd/mountd.8 @@ -1,4 +1,4 @@ -.\" $NetBSD: mountd.8,v 1.9 1995/03/18 14:58:30 cgd Exp $ +.\" $NetBSD: mountd.8,v 1.10 1995/11/06 07:00:14 thorpej Exp $ .\" .\" Copyright (c) 1989, 1991, 1993 .\" The Regents of the University of California. All rights reserved. @@ -43,7 +43,7 @@ mount requests .Sh SYNOPSIS .Nm /sbin/mountd -.Op Fl n +.Op Fl dn .Op Ar exportsfile .Sh DESCRIPTION .Xr Mountd @@ -60,6 +60,11 @@ RFC1094. Options and operands available for .Nm mountd : .Bl -tag -width Ds +.It Fl d +Enable debugging mode. +.Xr Mountd +will not detach from the controlling terminal and will print +debugging messages to stderr. .It Fl n Do not require that clients make mount requests from reserved ports. (Normally, only mount requsts from reserved ports are accepted.) |