diff options
author | amavect <amavect@gmail.com> | 2021-08-18 17:51:40 +0000 |
---|---|---|
committer | amavect <amavect@gmail.com> | 2021-08-18 17:51:40 +0000 |
commit | 0f58e47551345d7c48c9404bc4188f7fc195e51a (patch) | |
tree | 3c6487a3aaf48d05382687a500589967fa5bd94b /sys/src/cmd/exportfs/exportfs.h | |
parent | 8c228a123fa0c6062570964011854302bbf57242 (diff) |
exportfs, oexportfs, iostats: make -d log to stderr
exportfs -d logs 9p traffic to /tmp/exportdb.
-f allows writing to a different file.
exportfs silently continues if it doesn't have
permissions to create or write to /tmp/exportdb.
These are poor behaviors.
A better default is to write to stderr, since it
is 9P debug info that is better immediately printed,
and not user info that is better handled by syslog().
As a result, -f is obsolete and thus removed.
Redirect responsibility is now on rc.
As a side effect, rc will fail if it doesn't
have permissions to write.
exportfs(4) is updated to reflect all changes
and with a better Synopsis.
oexportfs is changed to match exportfs.
oexportfs(4) is updated to reflect all changes.
The Synopsis is not changed due to the number of flags.
Removed -f from iostats.
iostats(4) is updated to reflect all changes.
---
Diffstat (limited to 'sys/src/cmd/exportfs/exportfs.h')
-rw-r--r-- | sys/src/cmd/exportfs/exportfs.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/sys/src/cmd/exportfs/exportfs.h b/sys/src/cmd/exportfs/exportfs.h index 344304b7c..6723620cd 100644 --- a/sys/src/cmd/exportfs/exportfs.h +++ b/sys/src/cmd/exportfs/exportfs.h @@ -3,7 +3,6 @@ */ #define DEBUG if(!dbg){}else fprint -#define DFD 9 #define fidhash(s) fhash[s%FHASHSIZE] typedef struct Fsrpc Fsrpc; |