diff options
| author | hjl <hjl> | 2001-08-17 16:12:05 +0000 |
|---|---|---|
| committer | hjl <hjl> | 2001-08-17 16:12:05 +0000 |
| commit | e7a90e99053a6c0575efcb19f3ddda3abd5f59cd (patch) | |
| tree | 882ad4d856b7541ee1b84d1dd595a7a8118f933a /utils/statd/statd.man | |
| parent | c96c73993a752ba79a7c68c4aa639ce6af4dd1be (diff) | |
| download | nfs-utils-e7a90e99053a6c0575efcb19f3ddda3abd5f59cd.tar.gz nfs-utils-e7a90e99053a6c0575efcb19f3ddda3abd5f59cd.tar.xz nfs-utils-e7a90e99053a6c0575efcb19f3ddda3abd5f59cd.zip | |
2001-08-17 Ragnar Kjørstad <nfs@ragnark.vestdata.no>
H.J. Lu <hjl@lucon.org>
* etc/redhat/nfslock.init (STATDARG): New. Pass it to rpc.statd.
* utils/statd/statd.c (longopts): Add "name".
(usage): Add "-n/--name".
(main): Set MY_NAME with "-n/--name".
* utils/statd/state.c (change_state): Set MY_NAME only if it
is NULL.
* utils/statd/statd.man: Updated for "-n/--name".
Diffstat (limited to 'utils/statd/statd.man')
| -rw-r--r-- | utils/statd/statd.man | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/utils/statd/statd.man b/utils/statd/statd.man index 84199e8..9f861b2 100644 --- a/utils/statd/statd.man +++ b/utils/statd/statd.man @@ -8,7 +8,7 @@ .SH NAME rpc.statd \- NSM status monitor .SH SYNOPSIS -.B "/sbin/rpc.statd [-F] [-d] [-?] [-o " port "] [-p " port "] [-V]" +.B "/sbin/rpc.statd [-F] [-d] [-?] [-n " name "] [-o " port "] [-p " port "] [-V]" .SH DESCRIPTION The .B rpc.statd @@ -52,6 +52,17 @@ be used in conjunction with the .B -F parameter. .TP +.BI "\-n," "" " \-\-name " name +specify a name for +.B rpc.statd +to use as the local hostname. By default, +.BR rpc.statd +will call +.BR gethostname (2) +to get the local hostname. Specifying +a local hostname may be useful for machines with more than one +interfaces. +.TP .BI "\-o," "" " \-\-outgoing\-port " port specify a port for .B rpc.statd |
