summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--9mount.138
1 files changed, 19 insertions, 19 deletions
diff --git a/9mount.1 b/9mount.1
index 66ce7ef..bd3f50d 100644
--- a/9mount.1
+++ b/9mount.1
@@ -3,7 +3,7 @@
9mount, 9bind, 9umount \- mount/unmount 9p filesystems
.SH SYNOPSIS
.B 9mount
-[ insuvx ] [ -a SPEC ] [ -c CACHE ] [ -d DEBUG ] [ -m MSIZE ] DIAL MOUNTPT
+[ insuvx ] [ \-a SPEC ] [ \-c CACHE ] [ \-d DEBUG ] [ \-m MSIZE ] DIAL MOUNTPT
.PP
.B 9bind
OLD NEW
@@ -22,39 +22,39 @@ tcp!HOST[!PORT]
.br
virtio!CHANNEL
.br
--
+\-
.PP
where SOCKET is the name of a file representing a socket, HOST is a
hostname, PORT is a port number or service name, and CHANNEL is a
-virtio channel name (currently ignored). - indicates that 9p messages
+virtio channel name (currently ignored). \- indicates that 9p messages
should be read/written on stdin/stdout.
.B 9mount
has several options:
.TP
--i
+\-i
mount the file system with your uid/gid
.TP
--n
+\-n
dry-run, print mount command to stderr but don't actually mount anything
.TP
--s
-single attach mode - all users accessing the mount point see the same
+\-s
+single attach mode \- all users accessing the mount point see the same
filesystem (by default they'll each see a unique attach)
.TP
--u
+\-u
use the 9P2000.u extensions
.TP
--v
+\-v
use device mapping
.TP
--x
-exclusive access - other users cannot access the mount point
+\-x
+exclusive access \- other users cannot access the mount point
.TP
--a SPEC
+\-a SPEC
SPEC determines which file tree to mount when attaching to file servers that
export multiple trees
.TP
--c CACHE
+\-c CACHE
turns on caching using CACHE mode. Supported modes are
.I loose
(suitable for exclusive read-only mounts),
@@ -62,11 +62,11 @@ turns on caching using CACHE mode. Supported modes are
and
.IR mmap .
.TP
--d DEBUG
+\-d DEBUG
comma seperated list of channels for which to enable debug output. Possible
channels include: err, devel, 9p, vfs, conv, mux, trans, alloc, fcall.
.TP
--m MSIZE
+\-m MSIZE
specifies the maximum length of a single 9p message in bytes. Must be less
than or equal to 8192 for non-root users.
.PP
@@ -82,16 +82,16 @@ $USER
the uname to provide to the server.
.SH EXAMPLES
.TP
-9mount -i 'unix!/tmp/ns.'$USER'.:0/factotum' $HOME/n/factotum
+9mount \-i 'unix!/tmp/ns.'$USER'.:0/factotum' $HOME/n/factotum
mount p9p's factotum interface
.TP
9mount 'tcp!sources.cs.bell-labs.com' $HOME/n/sources
import plan 9's "sources"
.TP
-9mount -u -a/home/sqweek/mail 'tcp!wren!5640' $HOME/mail
+9mount \-u \-a/home/sqweek/mail 'tcp!wren!5640' $HOME/mail
import my maildir from my server(wren), being served by ufs
.TP
-9mount -i 'tcp!wren' $HOME/n/wren; 9bind $HOME/n/wren/home/sqweek/mail $HOME/mail
+9mount \-i 'tcp!wren' $HOME/n/wren; 9bind $HOME/n/wren/home/sqweek/mail $HOME/mail
again importing my maildir, this time serving via u9fs
.SH BUGS
.B 9mount
@@ -105,7 +105,7 @@ logging out if your user name is that long.
doesn't update /etc/mtab.
.PP
.B 9bind
-only does a "shallow", non-recursive bind - any mounted filesystems
+only does a "shallow", non-recursive bind \- any mounted filesystems
under the OLD tree will not appear mounted in the NEW tree.
.PP
If you