mount, srv: add -N flag to skip authentication and attach anonymously as "none"

This commit is contained in:
cinap_lenrek 2015-08-10 10:11:45 +02:00
parent b241dd1159
commit 23742053f5
4 changed files with 47 additions and 18 deletions

View file

@ -144,7 +144,7 @@ operation fails.
.PD
.PP
.I Mount
takes two additional options.
takes three additional options.
The first,
.B -k
.IR keypattern ,
@ -156,6 +156,11 @@ The second,
causes
.I mount
to skip authentication entirely.
The third,
.BR -N ,
skips authentication and specifies
.B none
as the username to the fileserver.
.PP
The
.I spec

View file

@ -4,7 +4,7 @@ srv, srvold9p, 9fs, srvssh \- start network file service
.SH SYNOPSIS
.B srv
[
.B -abcCemnq
.B -abcCemnNq
] [
.B -s
.I seconds
@ -114,7 +114,8 @@ The
.BR c ,
.BR C ,
and
.B n
.BR n ,
.B N
options are used to control the mount flags as in
.I mount
(see