commit d62a9f326a9cf76488a0967007c12e0841117cdf from: rsc date: Tue Apr 04 18:23:57 2006 UTC add v9fs example commit - 89eaced6b18d08581edc8a34ff195d19377c025d commit + d62a9f326a9cf76488a0967007c12e0841117cdf blob - a74f43f1675c05e5fd6a0f56053989274521f7c6 blob + 1e8b91dea6593e6042f9c0a23d1aaa046cb821c9 --- man/man4/srv.4 +++ 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