9mount(1) | User commands | 9mount(1) |
9mount, 9bind, 9umount - mount/unmount 9p filesystems
9mount [ insuvx ] [ -a SPEC ] [ -c CACHE ] [ -d DEBUG ] [ -m MSIZE ] DIAL MOUNTPT
9bind OLD NEW
9umount MOUNTPT
9mount mounts a 9p filesystem served at DIAL on MOUNTPT. MOUNTPT must be writable by you and not sticky. DIAL is a dial string assuming one of the forms:
unix!SOCKET
tcp!HOST[!PORT]
virtio!CHANNEL
-
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 should be read/written on stdin/stdout. 9mount has several options:
9bind performs a bind mount, making the tree visible at directory OLD also visible at mount point NEW.
9umount unmounts a 9p filesystem previously mounted by you.
9mount truncates user names and SPECs to 249 characters. 9umount doesn't know this, so you won't be able to unmount anything outside your home directory. But you probably never bother logging out if your user name is that long.
9mount doesn't update /etc/mtab.
9bind only does a "shallow", non-recursive bind - any mounted filesystems under the OLD tree will not appear mounted in the NEW tree.
If you 9bind a non-9p filesystem outside your home directory, 9umount won't let you unmount it.
sqweek@gmail.com
23 July 2008 | 9mount |