u9fs takes an optional argument to specify the root of the file system to serve (defaulting to serving the entire unix fs). this patch updates the man page to reflect that. Reference: /n/sources/patch/applied/u9fs-fsroot Date: Fri Dec 4 19:09:31 CET 2009 Signed-off-by: a@9srv.net --- /sys/man/4/u9fs Fri Dec 4 19:08:18 2009 +++ /sys/man/4/u9fs Fri Dec 4 19:08:16 2009 @@ -26,6 +26,7 @@ .B -u .I onlyuser ] +.I fsroot .SH DESCRIPTION .I U9fs is @@ -164,6 +165,13 @@ This is useful in some cases when running without .IR inetd ; see the examples. +.PP +If +.I fsroot +is specified, +.I u9fs +will serve only that tree; othwise, it will serve the entire Unix +file system. .SH EXAMPLES .PP Plan 9 calls 9P file service @@ -183,7 +191,8 @@ and .IR bind (1). .PP -.I U9fs +By default, +.I u9fs serves the entire file system of the Unix machine. It forbids access to devices because the program is single-threaded and may block unpredictably.