MOUNT_9P(8) | System Manager's Manual | MOUNT_9P(8) |
mount_9p
—
mount_9p |
[-46Csu ] [-o
options] [-p
port]
[user@ ]host[: path]
mount_point |
mount_9p |
-c [-Csu ]
[-o options]
device mount_point |
mount_9p
program is used to mount a file hierarchy
served with the Plan 9 resource sharing protocol 9P. After the file system is
mounted, the files on the remote host will be accessed
using the credentials of the user named user and
whatever UID the user happens to have on the remote server. If
path is supplied, it is used as the mount rootpath on
the remote host. path must be an absolute path.
The host name may be optionally enclosed in square brackets. This is required when using numeric IPv6 addresses as they contain colons as part of their syntax.
The -c
option enables to mount a file
system exported by a VM host through a character device file
device backed by the
vio9p(4) driver. See
vio9p(4) for more
information.
The following options are available:
-4
mount_9p
to use IPv4 addresses only.-6
mount_9p
to use IPv6 addresses only.-C
-c
-o
options-o
option
to mount(8).-p
portmount_9p
uses port 564 (9pfs
). Another useful port is 6666
(styx
), used by Inferno operating system.-s
-u
9P: The Simple Distributed File System from Bell Labs, http://9p.cat-v.org/.
RFC and standards documents relating the 9P protocol, http://ericvh.github.io/9p-rfc/.
mount_9p
utility first appeared in
NetBSD 5.0.
Experimental 9P2000.u support appeared in NetBSD 9.0.
The vio9p(4) support appeared in NetBSD 10.0.
Permissions are not handled well.
Error code handling is missing for 9P2000.
9P2000.u support doesn't use extension fields.
February 10, 2022 | NetBSD 10.0 |