tadd v9fs example - plan9port - [fork] Plan 9 from user space
HTML git clone git://src.adamsgaard.dk/plan9port
DIR Log
DIR Files
DIR Refs
DIR README
DIR LICENSE
---
DIR commit d62a9f326a9cf76488a0967007c12e0841117cdf
DIR parent 89eaced6b18d08581edc8a34ff195d19377c025d
HTML Author: rsc <devnull@localhost>
Date: Tue, 4 Apr 2006 18:23:57 +0000
add v9fs example
Diffstat:
M man/man4/srv.4 | 21 +++++++++++++++++++++
1 file changed, 21 insertions(+), 0 deletions(-)
---
DIR diff --git a/man/man4/srv.4 b/man/man4/srv.4
t@@ -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