The following file system specific mount options are handled by mount.diod.
aname=name
The aname is the path of the exported file system on the server. It can be specified in the mount
spec in host:aname format like NFS, or it can be specified with this option. diod will not allow
an attach to an empty aname. diod has a built-in synthetic control file system that can be
mounted with aname of ctl. Note that "ctl" must be explicitly exported.
uname=name
The user name to authenticate to the diod server. The default is uname=root.
access=mode
Select the access mode. access=user (default) causes the mount to support multiple users, and
requires root authentication. access=<uid> restricts access at the client to only the specified
user.
port=n Connect to the diod server on the specified port. The default is the IANA-assigned 9pfs port 564.
trans=name
Select a transport. mount.diod only supports trans=fd because of its strategy for authentication.
rfdno=n,wfdno=n
The file descriptor for reading and writing with trans=fd. If set, mount.diod assumes this file
descriptor is already connected to a diod server and ignores host in the device specification, and
the port=n option.
msize=n
The msize is the max 9P packet payload size. The default is 65512 (65536-24)
version=name
Select 9P protocol version. diod only supports 9p2000.L.
cache=mode
Specify a caching policy. By default, no caches are used. If cache=loose, no attempts are made
at consistency. This mode is intended for exclusive, read-only mounts. If cache=fscache, use FS-
Cache for a persistent, read-only cache backend.
cachetag
In the context of cache=fscache, select the cache tag to use for this session. Cache tags for
existing cache sessions are listed in /sys/fs/9p/caches.
nodevmap
Do not map special files. Represent them as normal files. This can be used to share
devices/named pipes/sockets between hosts.
debug=n
Specifies debug level for the kernel 9p module. The debug level is a bitmask.
0x01 = display verbose error messages
0x02 = developer debug (DEBUG_CURRENT)
0x04 = display 9p trace
0x08 = display VFS trace
0x10 = display Marshalling debug
0x20 = display RPC debug
0x40 = display transport debug
0x80 = display allocation debug
0x100 = display protocol message debug
0x200 = display Fid debug
0x400 = display packet debug
0x800 = display fscache tracing debug
The debug level is global, i.e. it applies to all 9P file systems and it remains set after the
file system is unmounted. The default is debug=0.