mirror of
https://github.com/9fans/plan9port.git
synced 2025-01-12 11:10:07 +00:00
add v9fs example
This commit is contained in:
parent
89eaced6b1
commit
d62a9f326a
1 changed files with 21 additions and 0 deletions
|
@ -64,6 +64,27 @@ available as service
|
|||
is an
|
||||
.IR rc (1)
|
||||
script; examine it to see what local conventions apply.
|
||||
.SH EXAMPLES
|
||||
List the root directory on
|
||||
.IR sources :
|
||||
.IP
|
||||
.EX
|
||||
9fs sources
|
||||
9p ls sources
|
||||
.EE
|
||||
.PP
|
||||
Mount a remote file server
|
||||
.I bootes
|
||||
on Linux using the kernel 9P mount driver,
|
||||
with
|
||||
.I srv
|
||||
handling authentication:
|
||||
.IP
|
||||
.EX
|
||||
srv -a sources.cs.bell-labs.com sources
|
||||
sudo mount -t 9P -o user=$USER,uid=`id -u`,gid=`id -g`,proto=unix
|
||||
`namespace`/sources /n/sources
|
||||
.EE
|
||||
.SH SOURCE
|
||||
.B \*9/src/cmd/srv.c
|
||||
.br
|
||||
|
|
Loading…
Reference in a new issue