plan9front/sys/src/cmd/exportfs
amavect 0f58e47551 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.
---
2021-08-18 17:51:40 +00:00
..
exportfs.c exportfs, oexportfs, iostats: make -d log to stderr 2021-08-18 17:51:40 +00:00
exportfs.h exportfs, oexportfs, iostats: make -d log to stderr 2021-08-18 17:51:40 +00:00
exportsrv.c exportfs, oexportfs, iostats: make -d log to stderr 2021-08-18 17:51:40 +00:00
io.c exportfs, oexportfs, iostats: make -d log to stderr 2021-08-18 17:51:40 +00:00
mkfile oexportfs: move legacy code for cpu and import to separate program 2020-12-13 20:09:03 +01:00
oexportfs.c exportfs, oexportfs, iostats: make -d log to stderr 2021-08-18 17:51:40 +00:00
pattern.c exportfs, oexportfs, iostats: make -d log to stderr 2021-08-18 17:51:40 +00:00