diff options
author | cinap_lenrek <cinap_lenrek@gmx.de> | 2012-07-14 23:49:17 +0200 |
---|---|---|
committer | cinap_lenrek <cinap_lenrek@gmx.de> | 2012-07-14 23:49:17 +0200 |
commit | 8099d78f447fd77b215e2cc6a6bab2097a0d4d54 (patch) | |
tree | bba4ffff4d1ed703f7ea918f7608d9689ab1e9ce /sys/src/cmd/cwfs/con.c | |
parent | b494f61baa98f9ebb17cae13257d056af995b9f3 (diff) |
cwfs: noatime flag
Diffstat (limited to 'sys/src/cmd/cwfs/con.c')
-rw-r--r-- | sys/src/cmd/cwfs/con.c | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/sys/src/cmd/cwfs/con.c b/sys/src/cmd/cwfs/con.c index 61ab25806..496915d0e 100644 --- a/sys/src/cmd/cwfs/con.c +++ b/sys/src/cmd/cwfs/con.c @@ -690,7 +690,14 @@ void cmd_noauth(int, char *[]) { noauth = !noauth; - print("authentication %s\n", noauth ? "disabled" : "enabled"); + print("auth %s\n", noauth ? "disabled" : "enabled"); +} + +void +cmd_noatime(int, char *[]) +{ + noatime = !noatime; + print("atime %s\n", noatime ? "disabled" : "enabled"); } void @@ -767,6 +774,7 @@ installcmds(void) cmd_install("hangup", "chan -- clunk files", cmd_hangup); cmd_install("printconf", "-- print configuration", cmd_printconf); cmd_install("noauth", "toggle noauth flag", cmd_noauth); + cmd_install("noatime", "toggle noatime flag", cmd_noatime); cmd_install("noattach", "toggle noattach flag", cmd_noattach); cmd_install("files", "report on files structure", cmd_files); |