aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrsc <devnull@localhost>2006-04-04 18:23:57 +0000
committerrsc <devnull@localhost>2006-04-04 18:23:57 +0000
commitd62a9f326a9cf76488a0967007c12e0841117cdf (patch)
treee66ca7d5c6c4ab412c033189db79951478551748
parent89eaced6b18d08581edc8a34ff195d19377c025d (diff)
downloadplan9port-d62a9f326a9cf76488a0967007c12e0841117cdf.tar.gz
plan9port-d62a9f326a9cf76488a0967007c12e0841117cdf.tar.bz2
plan9port-d62a9f326a9cf76488a0967007c12e0841117cdf.zip
add v9fs example
-rw-r--r--man/man4/srv.421
1 files changed, 21 insertions, 0 deletions
diff --git a/man/man4/srv.4 b/man/man4/srv.4
index a74f43f1..1e8b91de 100644
--- a/man/man4/srv.4
+++ b/man/man4/srv.4
@@ -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