!sphinx.addnodesdocument)}( rawsourcechildren]( translations LanguagesNode)}(hhh](h pending_xref)}(hhh]docutils.nodesTextChinese (Simplified)}parenthsba attributes}(ids]classes]names]dupnames]backrefs] refdomainstdreftypedoc reftarget"/translations/zh_CN/filesystems/9pmodnameN classnameN refexplicitutagnamehhh ubh)}(hhh]hChinese (Traditional)}hh2sbah}(h]h ]h"]h$]h&] refdomainh)reftypeh+ reftarget"/translations/zh_TW/filesystems/9pmodnameN classnameN refexplicituh1hhh ubh)}(hhh]hItalian}hhFsbah}(h]h ]h"]h$]h&] refdomainh)reftypeh+ reftarget"/translations/it_IT/filesystems/9pmodnameN classnameN refexplicituh1hhh ubh)}(hhh]hJapanese}hhZsbah}(h]h ]h"]h$]h&] refdomainh)reftypeh+ reftarget"/translations/ja_JP/filesystems/9pmodnameN classnameN refexplicituh1hhh ubh)}(hhh]hKorean}hhnsbah}(h]h ]h"]h$]h&] refdomainh)reftypeh+ reftarget"/translations/ko_KR/filesystems/9pmodnameN classnameN refexplicituh1hhh ubh)}(hhh]hPortuguese (Brazilian)}hhsbah}(h]h ]h"]h$]h&] refdomainh)reftypeh+ reftarget"/translations/pt_BR/filesystems/9pmodnameN classnameN refexplicituh1hhh ubh)}(hhh]hSpanish}hhsbah}(h]h ]h"]h$]h&] refdomainh)reftypeh+ reftarget"/translations/sp_SP/filesystems/9pmodnameN classnameN refexplicituh1hhh ubeh}(h]h ]h"]h$]h&]current_languageEnglishuh1h hh _documenthsourceNlineNubhcomment)}(h SPDX-License-Identifier: GPL-2.0h]h SPDX-License-Identifier: GPL-2.0}hhsbah}(h]h ]h"]h$]h&] xml:spacepreserveuh1hhhhhh and Maya Gokhale. Additional development by Greg Watson and most recently Eric Van Hensbergen , Latchesar Ionkov and Russ Cox .h](h7This software was originally developed by Ron Minnich <}(hhhhhNhNubh reference)}(hrminnich@sandia.govh]hrminnich@sandia.gov}(hjhhhNhNubah}(h]h ]h"]h$]h&]refurimailto:rminnich@sandia.govuh1jhhubh<> and Maya Gokhale. Additional development by Greg Watson <}(hhhhhNhNubj)}(hgwatson@lanl.govh]hgwatson@lanl.gov}(hjhhhNhNubah}(h]h ]h"]h$]h&]refurimailto:gwatson@lanl.govuh1jhhubh)> and most recently Eric Van Hensbergen <}(hhhhhNhNubj)}(hericvh@gmail.comh]hericvh@gmail.com}(hj0hhhNhNubah}(h]h ]h"]h$]h&]refurimailto:ericvh@gmail.comuh1jhhubh>, Latchesar Ionkov <}(hhhhhNhNubj)}(hlucho@ionkov.neth]hlucho@ionkov.net}(hjDhhhNhNubah}(h]h ]h"]h$]h&]refurimailto:lucho@ionkov.netuh1jhhubh> and Russ Cox <}(hhhhhNhNubj)}(h rsc@swtch.comh]h rsc@swtch.com}(hjXhhhNhNubah}(h]h ]h"]h$]h&]refurimailto:rsc@swtch.comuh1jhhubh>.}(hhhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhK hhhhubh)}(hThe best detailed explanation of the Linux implementation and applications of the 9p client is available in the form of a USENIX paper:h]hThe best detailed explanation of the Linux implementation and applications of the 9p client is available in the form of a USENIX paper:}(hjrhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhhhhubh block_quote)}(hDhttps://www.usenix.org/events/usenix05/tech/freenix/hensbergen.html h]h)}(hChttps://www.usenix.org/events/usenix05/tech/freenix/hensbergen.htmlh]j)}(hjh]hChttps://www.usenix.org/events/usenix05/tech/freenix/hensbergen.html}(hjhhhNhNubah}(h]h ]h"]h$]h&]refurijuh1jhjubah}(h]h ]h"]h$]h&]uh1hhhhKhjubah}(h]h ]h"]h$]h&]uh1jhhhKhhhhubh)}(h9Other applications are described in the following papers:h]h9Other applications are described in the following papers:}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhhhhubj)}(hX* XCPU & Clustering * KVMFS: control file system for KVM * CellFS: A New Programming Model for the Cell BE * PROSE I/O: Using 9p to enable Application Partitions http://web.archive.org/web/20110101152020/http://plan9.escet.urjc.es/iwp9/cready/PROSE_iwp9_2006.pdf * VirtFS: A Virtualization Aware File System pass-through https://kernel.org/doc/ols/2010/ols2010-pages-109-120.pdf h]h bullet_list)}(hhh](h list_item)}(hXCPU & Clusteringh]h)}(hjh]hXCPU & Clustering}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjubah}(h]h ]h"]h$]h&]uh1jhjubj)}(h"KVMFS: control file system for KVMh]h)}(hjh]h"KVMFS: control file system for KVM}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjubah}(h]h ]h"]h$]h&]uh1jhjubj)}(h/CellFS: A New Programming Model for the Cell BEh]h)}(hjh]h/CellFS: A New Programming Model for the Cell BE}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjubah}(h]h ]h"]h$]h&]uh1jhjubj)}(hPROSE I/O: Using 9p to enable Application Partitions http://web.archive.org/web/20110101152020/http://plan9.escet.urjc.es/iwp9/cready/PROSE_iwp9_2006.pdfh]h)}(hPROSE I/O: Using 9p to enable Application Partitions http://web.archive.org/web/20110101152020/http://plan9.escet.urjc.es/iwp9/cready/PROSE_iwp9_2006.pdfh](h5PROSE I/O: Using 9p to enable Application Partitions }(hjhhhNhNubj)}(hdhttp://web.archive.org/web/20110101152020/http://plan9.escet.urjc.es/iwp9/cready/PROSE_iwp9_2006.pdfh]hdhttp://web.archive.org/web/20110101152020/http://plan9.escet.urjc.es/iwp9/cready/PROSE_iwp9_2006.pdf}(hjhhhNhNubah}(h]h ]h"]h$]h&]refurijuh1jhjubeh}(h]h ]h"]h$]h&]uh1hhhhKhjubah}(h]h ]h"]h$]h&]uh1jhjubj)}(hrVirtFS: A Virtualization Aware File System pass-through https://kernel.org/doc/ols/2010/ols2010-pages-109-120.pdf h]h)}(hqVirtFS: A Virtualization Aware File System pass-through https://kernel.org/doc/ols/2010/ols2010-pages-109-120.pdfh](h8VirtFS: A Virtualization Aware File System pass-through }(hj-hhhNhNubj)}(h9https://kernel.org/doc/ols/2010/ols2010-pages-109-120.pdfh]h9https://kernel.org/doc/ols/2010/ols2010-pages-109-120.pdf}(hj5hhhNhNubah}(h]h ]h"]h$]h&]refurij7uh1jhj-ubeh}(h]h ]h"]h$]h&]uh1hhhhKhj)ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]bullet*uh1jhhhKhjubah}(h]h ]h"]h$]h&]uh1jhhhKhhhhubeh}(h]aboutah ]h"]aboutah$]h&]uh1hhhhhhhhKubh)}(hhh](h)}(hUsageh]hUsage}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1hhjfhhhhhK"ubh)}(hFor remote file server::h]hFor remote file server:}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK$hjfhhubh literal_block)}(hmount -t 9p 10.10.1.2 /mnt/9h]hmount -t 9p 10.10.1.2 /mnt/9}hjsbah}(h]h ]h"]h$]h&]hhuh1jhhhK&hjfhhubh)}(hNFor Plan 9 From User Space applications (https://9fans.github.io/plan9port/)::h](h)For Plan 9 From User Space applications (}(hjhhhNhNubj)}(h"https://9fans.github.io/plan9port/h]h"https://9fans.github.io/plan9port/}(hjhhhNhNubah}(h]h ]h"]h$]h&]refurijuh1jhjubh):}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhK(hjfhhubj)}(h=mount -t 9p `namespace`/acme /mnt/9 -o trans=unix,uname=$USERh]h=mount -t 9p `namespace`/acme /mnt/9 -o trans=unix,uname=$USER}hjsbah}(h]h ]h"]h$]h&]hhuh1jhhhK*hjfhhubh)}(h7For server running on QEMU host with virtio transport::h]h6For server running on QEMU host with virtio transport:}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK,hjfhhubj)}(h.mount -t 9p -o trans=virtio /mnt/9h]h.mount -t 9p -o trans=virtio /mnt/9}hjsbah}(h]h ]h"]h$]h&]hhuh1jhhhK.hjfhhubh)}(hX%where mount_tag is the tag generated by the server to each of the exported mount points. Each 9P export is seen by the client as a virtio device with an associated "mount_tag" property. Available mount tags can be seen by reading /sys/bus/virtio/drivers/9pnet_virtio/virtio/mount_tag files.h]hX)where mount_tag is the tag generated by the server to each of the exported mount points. Each 9P export is seen by the client as a virtio device with an associated “mount_tag” property. Available mount tags can be seen by reading /sys/bus/virtio/drivers/9pnet_virtio/virtio/mount_tag files.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK0hjfhhubeh}(h]usageah ]h"]usageah$]h&]uh1hhhhhhhhK"ubh)}(hhh](h)}(h USBG Usageh]h USBG Usage}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhhhhhK6ubh)}(hETo mount a 9p FS on a USB Host accessible via the gadget at runtime::h]hDTo mount a 9p FS on a USB Host accessible via the gadget at runtime:}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK8hjhhubj)}(h;mount -t 9p -o trans=usbg,aname=/path/to/fs /mnt/9h]h;mount -t 9p -o trans=usbg,aname=/path/to/fs /mnt/9}hjsbah}(h]h ]h"]h$]h&]hhuh1jhhhK:hjhhubh)}(hMTo mount a 9p FS on a USB Host accessible via the gadget as root filesystem::h]hLTo mount a 9p FS on a USB Host accessible via the gadget as root filesystem:}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK rootfstype=9p rootflags=trans=usbg,cache=loose,uname=root,access=0,dfltuid=0,dfltgid=0,aname=/path/to/rootfsh]hzroot= rootfstype=9p rootflags=trans=usbg,cache=loose,uname=root,access=0,dfltuid=0,dfltgid=0,aname=/path/to/rootfs}hj1sbah}(h]h ]h"]h$]h&]hhuh1jhhhK>hjhhubh)}(hnwhere is the tag associated by the usb gadget transport. It is defined by the configfs instance name.h]hnwhere is the tag associated by the usb gadget transport. It is defined by the configfs instance name.}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK@hjhhubeh}(h] usbg-usageah ]h"] usbg usageah$]h&]uh1hhhhhhhhK6ubh)}(hhh](h)}(h USBG Exampleh]h USBG Example}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjUhhhhhKDubh)}(h^The USB host exports a filesystem, while the gadget on the USB device side makes it mountable.h]h^The USB host exports a filesystem, while the gadget on the USB device side makes it mountable.}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKFhjUhhubh)}(hXDiod (9pfs server) and the forwarder are on the development host, where the root filesystem is actually stored. The gadget is initialized during boot (or later) on the embedded board. Then the forwarder will find it on the USB bus and start forwarding requests.h]hXDiod (9pfs server) and the forwarder are on the development host, where the root filesystem is actually stored. The gadget is initialized during boot (or later) on the embedded board. Then the forwarder will find it on the USB bus and start forwarding requests.}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKIhjUhhubh)}(hIn this case the 9p requests come from the device and are handled by the host. The reason is that USB device ports are normally not available on PCs, so a connection in the other direction would not work.h]hIn this case the 9p requests come from the device and are handled by the host. The reason is that USB device ports are normally not available on PCs, so a connection in the other direction would not work.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKNhjUhhubh)}(hWhen using the usbg transport, for now there is no native usb host service capable to handle the requests from the gadget driver. For this we have to use the extra python tool p9_fwd.py from tools/usb.h]hWhen using the usbg transport, for now there is no native usb host service capable to handle the requests from the gadget driver. For this we have to use the extra python tool p9_fwd.py from tools/usb.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKRhjUhhubh)}(hGJust start the 9pfs capable network server like diod/nfs-ganesha e.g.::h]hFJust start the 9pfs capable network server like diod/nfs-ganesha e.g.:}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKVhjUhhubj)}(h,$ diod -f -n -d 0 -S -l 0.0.0.0:9999 -e $PWDh]h,$ diod -f -n -d 0 -S -l 0.0.0.0:9999 -e $PWD}hjsbah}(h]h ]h"]h$]h&]hhuh1jhhhKXhjUhhubh)}(hUOptionally scan your bus if there are more then one usbg gadgets to find their path::h]hTOptionally scan your bus if there are more then one usbg gadgets to find their path:}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKZhjUhhubj)}(hXD$ python $kernel_dir/tools/usb/p9_fwd.py list Bus | Addr | Manufacturer | Product | ID | Path --- | ---- | ---------------- | ---------------- | --------- | ---- 2 | 67 | unknown | unknown | 1d6b:0109 | 2-1.1.2 2 | 68 | unknown | unknown | 1d6b:0109 | 2-1.1.3h]hXD$ python $kernel_dir/tools/usb/p9_fwd.py list Bus | Addr | Manufacturer | Product | ID | Path --- | ---- | ---------------- | ---------------- | --------- | ---- 2 | 67 | unknown | unknown | 1d6b:0109 | 2-1.1.2 2 | 68 | unknown | unknown | 1d6b:0109 | 2-1.1.3}hjsbah}(h]h ]h"]h$]h&]hhuh1jhhhK\hjUhhubh)}(h!Then start the python transport::h]h Then start the python transport:}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKchjUhhubj)}(hG$ python $kernel_dir/tools/usb/p9_fwd.py --path 2-1.1.2 connect -p 9999h]hG$ python $kernel_dir/tools/usb/p9_fwd.py --path 2-1.1.2 connect -p 9999}hjsbah}(h]h ]h"]h$]h&]hhuh1jhhhKehjUhhubh)}(h allows only user with uid= to access the files on the mounted filesystem any v9fs does single attach and performs all operations as one user clien ACL based access check on the 9p client side for access validation cachetag cache tag to use the specified persistent cache. cache tags for existing cache sessions can be listed at /sys/fs/9p/caches. (applies only to cache=fscache) negtimeout the duration (in milliseconds) that negative dentries (paths that do not actually exist) are retained in the cache. If set to a negative value, those entries are kept indefinitely until evicted by the buffer cache management system ============= =============================================================== h]htable)}(hhh]htgroup)}(hhh](hcolspec)}(hhh]h}(h]h ]h"]h$]h&]colwidthK uh1j5hj2ubj6)}(hhh]h}(h]h ]h"]h$]h&]colwidthKHuh1j5hj2ubhtbody)}(hhh](hrow)}(hhh](hentry)}(hhh]h)}(h trans=nameh]h trans=name}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKphjWubah}(h]h ]h"]h$]h&]uh1jUhjRubjV)}(hhh](h)}(h>select an alternative transport. Valid options are currently:h]h>select an alternative transport. Valid options are currently:}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKphjnubj)}(hX======== ============================================ unix specifying a named pipe mount point tcp specifying a normal TCP/IP connection fd used passed file descriptors for connection (see rfdno and wfdno) virtio connect to the next virtio channel available (from QEMU with trans_virtio module) rdma connect to a specified RDMA channel usbg connect to a specified usb gadget channel ======== ============================================ h]j,)}(hhh]j1)}(hhh](j6)}(hhh]h}(h]h ]h"]h$]h&]colwidthKuh1j5hjubj6)}(hhh]h}(h]h ]h"]h$]h&]colwidthK,uh1j5hjubjL)}(hhh](jQ)}(hhh](jV)}(hhh]h)}(hunixh]hunix}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKthjubah}(h]h ]h"]h$]h&]uh1jUhjubjV)}(hhh]h)}(h#specifying a named pipe mount pointh]h#specifying a named pipe mount point}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKthjubah}(h]h ]h"]h$]h&]uh1jUhjubeh}(h]h ]h"]h$]h&]uh1jPhjubjQ)}(hhh](jV)}(hhh]h)}(htcph]htcp}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKuhjubah}(h]h ]h"]h$]h&]uh1jUhjubjV)}(hhh]h)}(h%specifying a normal TCP/IP connectionh]h%specifying a normal TCP/IP connection}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKuhjubah}(h]h ]h"]h$]h&]uh1jUhjubeh}(h]h ]h"]h$]h&]uh1jPhjubjQ)}(hhh](jV)}(hhh]h)}(hfdh]hfd}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKvhjubah}(h]h ]h"]h$]h&]uh1jUhjubjV)}(hhh]h)}(hAused passed file descriptors for connection (see rfdno and wfdno)h]hAused passed file descriptors for connection (see rfdno and wfdno)}(hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKvhj(ubah}(h]h ]h"]h$]h&]uh1jUhjubeh}(h]h ]h"]h$]h&]uh1jPhjubjQ)}(hhh](jV)}(hhh]h)}(hvirtioh]hvirtio}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKxhjHubah}(h]h ]h"]h$]h&]uh1jUhjEubjV)}(hhh]h)}(hQconnect to the next virtio channel available (from QEMU with trans_virtio module)h]hQconnect to the next virtio channel available (from QEMU with trans_virtio module)}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKxhj_ubah}(h]h ]h"]h$]h&]uh1jUhjEubeh}(h]h ]h"]h$]h&]uh1jPhjubjQ)}(hhh](jV)}(hhh]h)}(hrdmah]hrdma}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKzhjubah}(h]h ]h"]h$]h&]uh1jUhj|ubjV)}(hhh]h)}(h#connect to a specified RDMA channelh]h#connect to a specified RDMA channel}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKzhjubah}(h]h ]h"]h$]h&]uh1jUhj|ubeh}(h]h ]h"]h$]h&]uh1jPhjubjQ)}(hhh](jV)}(hhh]h)}(husbgh]husbg}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK{hjubah}(h]h ]h"]h$]h&]uh1jUhjubjV)}(hhh]h)}(h)connect to a specified usb gadget channelh]h)connect to a specified usb gadget channel}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK{hjubah}(h]h ]h"]h$]h&]uh1jUhjubeh}(h]h ]h"]h$]h&]uh1jPhjubeh}(h]h ]h"]h$]h&]uh1jKhjubeh}(h]h ]h"]h$]h&]colsKuh1j0hjubah}(h]h ]h"]h$]h&]uh1j+hjubah}(h]h ]h"]h$]h&]uh1jhhhKshjnubeh}(h]h ]h"]h$]h&]uh1jUhjRubeh}(h]h ]h"]h$]h&]uh1jPhjMubjQ)}(hhh](jV)}(hhh]h)}(h uname=nameh]h uname=name}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK~hjubah}(h]h ]h"]h$]h&]uh1jUhjubjV)}(hhh]h)}(huser name to attempt mount as on the remote server. The server may override or ignore this value. Certain user names may require authentication.h]huser name to attempt mount as on the remote server. The server may override or ignore this value. Certain user names may require authentication.}(hj,hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK~hj)ubah}(h]h ]h"]h$]h&]uh1jUhjubeh}(h]h ]h"]h$]h&]uh1jPhjMubjQ)}(hhh](jV)}(hhh]h)}(h aname=nameh]h aname=name}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjIubah}(h]h ]h"]h$]h&]uh1jUhjFubjV)}(hhh]h)}(hbaname specifies the file tree to access when the server is offering several exported file systems.h]hbaname specifies the file tree to access when the server is offering several exported file systems.}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj`ubah}(h]h ]h"]h$]h&]uh1jUhjFubeh}(h]h ]h"]h$]h&]uh1jPhjMubjQ)}(hhh](jV)}(hhh]h)}(h cache=modeh]h cache=mode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjubah}(h]h ]h"]h$]h&]uh1jUhj}ubjV)}(hhh](h)}(hspecifies a caching policy. By default, no caches are used. The mode can be specified as a bitmask or by using one of the preexisting common 'shortcuts'. The bitmask is described below: (unspecified bits are reserved)h]hspecifies a caching policy. By default, no caches are used. The mode can be specified as a bitmask or by using one of the preexisting common ‘shortcuts’. The bitmask is described below: (unspecified bits are reserved)}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjubj)}(hX========== ==================================================== 0b00000000 all caches disabled, mmap disabled 0b00000001 file caches enabled 0b00000010 meta-data caches enabled 0b00000100 writeback behavior (as opposed to writethrough) 0b00001000 loose caches (no explicit consistency with server) 0b10000000 fscache enabled for persistent caching ========== ==================================================== h]j,)}(hhh]j1)}(hhh](j6)}(hhh]h}(h]h ]h"]h$]h&]colwidthK uh1j5hjubj6)}(hhh]h}(h]h ]h"]h$]h&]colwidthK4uh1j5hjubjL)}(hhh](jQ)}(hhh](jV)}(hhh]h)}(h 0b00000000h]h 0b00000000}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjubah}(h]h ]h"]h$]h&]uh1jUhjubjV)}(hhh]h)}(h"all caches disabled, mmap disabledh]h"all caches disabled, mmap disabled}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjubah}(h]h ]h"]h$]h&]uh1jUhjubeh}(h]h ]h"]h$]h&]uh1jPhjubjQ)}(hhh](jV)}(hhh]h)}(h 0b00000001h]h 0b00000001}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjubah}(h]h ]h"]h$]h&]uh1jUhjubjV)}(hhh]h)}(hfile caches enabledh]hfile caches enabled}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjubah}(h]h ]h"]h$]h&]uh1jUhjubeh}(h]h ]h"]h$]h&]uh1jPhjubjQ)}(hhh](jV)}(hhh]h)}(h 0b00000010h]h 0b00000010}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj:ubah}(h]h ]h"]h$]h&]uh1jUhj7ubjV)}(hhh]h)}(hmeta-data caches enabledh]hmeta-data caches enabled}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjQubah}(h]h ]h"]h$]h&]uh1jUhj7ubeh}(h]h ]h"]h$]h&]uh1jPhjubjQ)}(hhh](jV)}(hhh]h)}(h 0b00000100h]h 0b00000100}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjqubah}(h]h ]h"]h$]h&]uh1jUhjnubjV)}(hhh]h)}(h/writeback behavior (as opposed to writethrough)h]h/writeback behavior (as opposed to writethrough)}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjubah}(h]h ]h"]h$]h&]uh1jUhjnubeh}(h]h ]h"]h$]h&]uh1jPhjubjQ)}(hhh](jV)}(hhh]h)}(h 0b00001000h]h 0b00001000}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjubah}(h]h ]h"]h$]h&]uh1jUhjubjV)}(hhh]h)}(h2loose caches (no explicit consistency with server)h]h2loose caches (no explicit consistency with server)}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjubah}(h]h ]h"]h$]h&]uh1jUhjubeh}(h]h ]h"]h$]h&]uh1jPhjubjQ)}(hhh](jV)}(hhh]h)}(h 0b10000000h]h 0b10000000}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjubah}(h]h ]h"]h$]h&]uh1jUhjubjV)}(hhh]h)}(h&fscache enabled for persistent cachingh]h&fscache enabled for persistent caching}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjubah}(h]h ]h"]h$]h&]uh1jUhjubeh}(h]h ]h"]h$]h&]uh1jPhjubeh}(h]h ]h"]h$]h&]uh1jKhjubeh}(h]h ]h"]h$]h&]colsKuh1j0hjubah}(h]h ]h"]h$]h&]uh1j+hjubah}(h]h ]h"]h$]h&]uh1jhhhKhjubh)}(h7The current shortcuts and their associated bitmask are:h]h7The current shortcuts and their associated bitmask are:}(hj,hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjubj)}(hX========= ==================================================== none 0b00000000 (no caching) readahead 0b00000001 (only read-ahead file caching) mmap 0b00000101 (read-ahead + writeback file cache) loose 0b00001111 (non-coherent file and meta-data caches) fscache 0b10001111 (persistent loose cache) ========= ==================================================== h]j,)}(hhh]j1)}(hhh](j6)}(hhh]h}(h]h ]h"]h$]h&]colwidthK uh1j5hjAubj6)}(hhh]h}(h]h ]h"]h$]h&]colwidthK4uh1j5hjAubjL)}(hhh](jQ)}(hhh](jV)}(hhh]h)}(hnoneh]hnone}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj^ubah}(h]h ]h"]h$]h&]uh1jUhj[ubjV)}(hhh]h)}(h0b00000000 (no caching)h]h0b00000000 (no caching)}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjuubah}(h]h ]h"]h$]h&]uh1jUhj[ubeh}(h]h ]h"]h$]h&]uh1jPhjXubjQ)}(hhh](jV)}(hhh]h)}(h readaheadh]h readahead}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjubah}(h]h ]h"]h$]h&]uh1jUhjubjV)}(hhh]h)}(h)0b00000001 (only read-ahead file caching)h]h)0b00000001 (only read-ahead file caching)}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjubah}(h]h ]h"]h$]h&]uh1jUhjubeh}(h]h ]h"]h$]h&]uh1jPhjXubjQ)}(hhh](jV)}(hhh]h)}(hmmaph]hmmap}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjubah}(h]h ]h"]h$]h&]uh1jUhjubjV)}(hhh]h)}(h.0b00000101 (read-ahead + writeback file cache)h]h.0b00000101 (read-ahead + writeback file cache)}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjubah}(h]h ]h"]h$]h&]uh1jUhjubeh}(h]h ]h"]h$]h&]uh1jPhjXubjQ)}(hhh](jV)}(hhh]h)}(hlooseh]hloose}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj ubah}(h]h ]h"]h$]h&]uh1jUhj ubjV)}(hhh]h)}(h30b00001111 (non-coherent file and meta-data caches)h]h30b00001111 (non-coherent file and meta-data caches)}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj ubah}(h]h ]h"]h$]h&]uh1jUhj ubeh}(h]h ]h"]h$]h&]uh1jPhjXubjQ)}(hhh](jV)}(hhh]h)}(hfscacheh]hfscache}(hj= hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj: ubah}(h]h ]h"]h$]h&]uh1jUhj7 ubjV)}(hhh]h)}(h#0b10001111 (persistent loose cache)h]h#0b10001111 (persistent loose cache)}(hjT hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjQ ubah}(h]h ]h"]h$]h&]uh1jUhj7 ubeh}(h]h ]h"]h$]h&]uh1jPhjXubeh}(h]h ]h"]h$]h&]uh1jKhjAubeh}(h]h ]h"]h$]h&]colsKuh1j0hj>ubah}(h]h ]h"]h$]h&]uh1j+hj:ubah}(h]h ]h"]h$]h&]uh1jhhhKhjubh)}(hNOTE: only these shortcuts are tested modes of operation at the moment, so using other combinations of bit-patterns is not known to work. Work on better cache support is in progress.h]hNOTE: only these shortcuts are tested modes of operation at the moment, so using other combinations of bit-patterns is not known to work. Work on better cache support is in progress.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjubh)}(hXVIMPORTANT: loose caches (and by extension at the moment fscache) do not necessarily validate cached values on the server. In other words changes on the server are not guaranteed to be reflected on the client system. Only use this mode of operation if you have an exclusive mount and the server will not modify the filesystem underneath you.h]hXVIMPORTANT: loose caches (and by extension at the moment fscache) do not necessarily validate cached values on the server. In other words changes on the server are not guaranteed to be reflected on the client system. Only use this mode of operation if you have an exclusive mount and the server will not modify the filesystem underneath you.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjubeh}(h]h ]h"]h$]h&]uh1jUhj}ubeh}(h]h ]h"]h$]h&]uh1jPhjMubjQ)}(hhh](jV)}(hhh]h)}(hdebug=nh]hdebug=n}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj ubah}(h]h ]h"]h$]h&]uh1jUhj ubjV)}(hhh](h)}(h5specifies debug level. The debug level is a bitmask.h]h5specifies debug level. The debug level is a bitmask.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj ubj)}(hX===== ================================ 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 ===== ================================ h]j,)}(hhh]j1)}(hhh](j6)}(hhh]h}(h]h ]h"]h$]h&]colwidthKuh1j5hj ubj6)}(hhh]h}(h]h ]h"]h$]h&]colwidthK uh1j5hj ubjL)}(hhh](jQ)}(hhh](jV)}(hhh]h)}(h0x01h]h0x01}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj ubah}(h]h ]h"]h$]h&]uh1jUhj ubjV)}(hhh]h)}(hdisplay verbose error messagesh]hdisplay verbose error messages}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj ubah}(h]h ]h"]h$]h&]uh1jUhj ubeh}(h]h ]h"]h$]h&]uh1jPhj ubjQ)}(hhh](jV)}(hhh]h)}(h0x02h]h0x02}(hj8 hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj5 ubah}(h]h ]h"]h$]h&]uh1jUhj2 ubjV)}(hhh]h)}(hdeveloper debug (DEBUG_CURRENT)h]hdeveloper debug (DEBUG_CURRENT)}(hjO hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjL ubah}(h]h ]h"]h$]h&]uh1jUhj2 ubeh}(h]h ]h"]h$]h&]uh1jPhj ubjQ)}(hhh](jV)}(hhh]h)}(h0x04h]h0x04}(hjo hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjl ubah}(h]h ]h"]h$]h&]uh1jUhji ubjV)}(hhh]h)}(hdisplay 9p traceh]hdisplay 9p trace}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj ubah}(h]h ]h"]h$]h&]uh1jUhji ubeh}(h]h ]h"]h$]h&]uh1jPhj ubjQ)}(hhh](jV)}(hhh]h)}(h0x08h]h0x08}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj ubah}(h]h ]h"]h$]h&]uh1jUhj ubjV)}(hhh]h)}(hdisplay VFS traceh]hdisplay VFS trace}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj ubah}(h]h ]h"]h$]h&]uh1jUhj ubeh}(h]h ]h"]h$]h&]uh1jPhj ubjQ)}(hhh](jV)}(hhh]h)}(h0x10h]h0x10}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj ubah}(h]h ]h"]h$]h&]uh1jUhj ubjV)}(hhh]h)}(hdisplay Marshalling debugh]hdisplay Marshalling debug}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj ubah}(h]h ]h"]h$]h&]uh1jUhj ubeh}(h]h ]h"]h$]h&]uh1jPhj ubjQ)}(hhh](jV)}(hhh]h)}(h0x20h]h0x20}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj ubah}(h]h ]h"]h$]h&]uh1jUhj ubjV)}(hhh]h)}(hdisplay RPC debugh]hdisplay RPC debug}(hj+ hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj( ubah}(h]h ]h"]h$]h&]uh1jUhj ubeh}(h]h ]h"]h$]h&]uh1jPhj ubjQ)}(hhh](jV)}(hhh]h)}(h0x40h]h0x40}(hjK hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjH ubah}(h]h ]h"]h$]h&]uh1jUhjE ubjV)}(hhh]h)}(hdisplay transport debugh]hdisplay transport debug}(hjb hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj_ ubah}(h]h ]h"]h$]h&]uh1jUhjE ubeh}(h]h ]h"]h$]h&]uh1jPhj ubjQ)}(hhh](jV)}(hhh]h)}(h0x80h]h0x80}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj ubah}(h]h ]h"]h$]h&]uh1jUhj| ubjV)}(hhh]h)}(hdisplay allocation debugh]hdisplay allocation debug}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj ubah}(h]h ]h"]h$]h&]uh1jUhj| ubeh}(h]h ]h"]h$]h&]uh1jPhj ubjQ)}(hhh](jV)}(hhh]h)}(h0x100h]h0x100}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj ubah}(h]h ]h"]h$]h&]uh1jUhj ubjV)}(hhh]h)}(hdisplay protocol message debugh]hdisplay protocol message debug}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj ubah}(h]h ]h"]h$]h&]uh1jUhj ubeh}(h]h ]h"]h$]h&]uh1jPhj ubjQ)}(hhh](jV)}(hhh]h)}(h0x200h]h0x200}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj ubah}(h]h ]h"]h$]h&]uh1jUhj ubjV)}(hhh]h)}(hdisplay Fid debugh]hdisplay Fid debug}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj ubah}(h]h ]h"]h$]h&]uh1jUhj ubeh}(h]h ]h"]h$]h&]uh1jPhj ubjQ)}(hhh](jV)}(hhh]h)}(h0x400h]h0x400}(hj' hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj$ ubah}(h]h ]h"]h$]h&]uh1jUhj! ubjV)}(hhh]h)}(hdisplay packet debugh]hdisplay packet debug}(hj> hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj; ubah}(h]h ]h"]h$]h&]uh1jUhj! ubeh}(h]h ]h"]h$]h&]uh1jPhj ubjQ)}(hhh](jV)}(hhh]h)}(h0x800h]h0x800}(hj^ hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj[ ubah}(h]h ]h"]h$]h&]uh1jUhjX ubjV)}(hhh]h)}(hdisplay fscache tracing debugh]hdisplay fscache tracing debug}(hju hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjr ubah}(h]h ]h"]h$]h&]uh1jUhjX ubeh}(h]h ]h"]h$]h&]uh1jPhj ubeh}(h]h ]h"]h$]h&]uh1jKhj ubeh}(h]h ]h"]h$]h&]colsKuh1j0hj ubah}(h]h ]h"]h$]h&]uh1j+hj ubah}(h]h ]h"]h$]h&]uh1jhhhKhj ubeh}(h]h ]h"]h$]h&]uh1jUhj ubeh}(h]h ]h"]h$]h&]uh1jPhjMubjQ)}(hhh](jV)}(hhh]h)}(hrfdno=nh]hrfdno=n}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj ubah}(h]h ]h"]h$]h&]uh1jUhj ubjV)}(hhh]h)}(h-the file descriptor for reading with trans=fdh]h-the file descriptor for reading with trans=fd}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj ubah}(h]h ]h"]h$]h&]uh1jUhj ubeh}(h]h ]h"]h$]h&]uh1jPhjMubjQ)}(hhh](jV)}(hhh]h)}(hwfdno=nh]hwfdno=n}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj ubah}(h]h ]h"]h$]h&]uh1jUhj ubjV)}(hhh]h)}(h-the file descriptor for writing with trans=fdh]h-the file descriptor for writing with trans=fd}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj ubah}(h]h ]h"]h$]h&]uh1jUhj ubeh}(h]h ]h"]h$]h&]uh1jPhjMubjQ)}(hhh](jV)}(hhh]h)}(hmsize=nh]hmsize=n}(hj( hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj% ubah}(h]h ]h"]h$]h&]uh1jUhj" ubjV)}(hhh]h)}(h0the number of bytes to use for 9p packet payloadh]h0the number of bytes to use for 9p packet payload}(hj? hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj< ubah}(h]h ]h"]h$]h&]uh1jUhj" ubeh}(h]h ]h"]h$]h&]uh1jPhjMubjQ)}(hhh](jV)}(hhh]h)}(hport=nh]hport=n}(hj_ hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj\ ubah}(h]h ]h"]h$]h&]uh1jUhjY ubjV)}(hhh]h)}(h'port to connect to on the remote serverh]h'port to connect to on the remote server}(hjv hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjs ubah}(h]h ]h"]h$]h&]uh1jUhjY ubeh}(h]h ]h"]h$]h&]uh1jPhjMubjQ)}(hhh](jV)}(hhh]h)}(hnoextendh]hnoextend}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj ubah}(h]h ]h"]h$]h&]uh1jUhj ubjV)}(hhh]h)}(h5force legacy mode (no 9p2000.u or 9p2000.L semantics)h]h5force legacy mode (no 9p2000.u or 9p2000.L semantics)}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj ubah}(h]h ]h"]h$]h&]uh1jUhj ubeh}(h]h ]h"]h$]h&]uh1jPhjMubjQ)}(hhh](jV)}(hhh]h)}(h version=nameh]h version=name}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj ubah}(h]h ]h"]h$]h&]uh1jUhj ubjV)}(hhh](h)}(h.Select 9P protocol version. Valid options are:h]h.Select 9P protocol version. Valid options are:}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj ubj)}(h======== ============================== 9p2000 Legacy mode (same as noextend) 9p2000.u Use 9P2000.u protocol 9p2000.L Use 9P2000.L protocol ======== ============================== h]j,)}(hhh]j1)}(hhh](j6)}(hhh]h}(h]h ]h"]h$]h&]colwidthKuh1j5hj ubj6)}(hhh]h}(h]h ]h"]h$]h&]colwidthKuh1j5hj ubjL)}(hhh](jQ)}(hhh](jV)}(hhh]h)}(h9p2000h]h9p2000}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjubah}(h]h ]h"]h$]h&]uh1jUhjubjV)}(hhh]h)}(hLegacy mode (same as noextend)h]hLegacy mode (same as noextend)}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj-ubah}(h]h ]h"]h$]h&]uh1jUhjubeh}(h]h ]h"]h$]h&]uh1jPhjubjQ)}(hhh](jV)}(hhh]h)}(h9p2000.uh]h9p2000.u}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjMubah}(h]h ]h"]h$]h&]uh1jUhjJubjV)}(hhh]h)}(hUse 9P2000.u protocolh]hUse 9P2000.u protocol}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjdubah}(h]h ]h"]h$]h&]uh1jUhjJubeh}(h]h ]h"]h$]h&]uh1jPhjubjQ)}(hhh](jV)}(hhh]h)}(h9p2000.Lh]h9p2000.L}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjubah}(h]h ]h"]h$]h&]uh1jUhjubjV)}(hhh]h)}(hUse 9P2000.L protocolh]hUse 9P2000.L protocol}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjubah}(h]h ]h"]h$]h&]uh1jUhjubeh}(h]h ]h"]h$]h&]uh1jPhjubeh}(h]h ]h"]h$]h&]uh1jKhj ubeh}(h]h ]h"]h$]h&]colsKuh1j0hj ubah}(h]h ]h"]h$]h&]uh1j+hj ubah}(h]h ]h"]h$]h&]uh1jhhhKhj ubeh}(h]h ]h"]h$]h&]uh1jUhj ubeh}(h]h ]h"]h$]h&]uh1jPhjMubjQ)}(hhh](jV)}(hhh]h)}(hdfltuidh]hdfltuid}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjubah}(h]h ]h"]h$]h&]uh1jUhjubjV)}(hhh]h)}(h$attempt to mount as a particular uidh]h$attempt to mount as a particular uid}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjubah}(h]h ]h"]h$]h&]uh1jUhjubeh}(h]h ]h"]h$]h&]uh1jPhjMubjQ)}(hhh](jV)}(hhh]h)}(hdfltgidh]hdfltgid}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjubah}(h]h ]h"]h$]h&]uh1jUhjubjV)}(hhh]h)}(h&attempt to mount with a particular gidh]h&attempt to mount with a particular gid}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj.ubah}(h]h ]h"]h$]h&]uh1jUhjubeh}(h]h ]h"]h$]h&]uh1jPhjMubjQ)}(hhh](jV)}(hhh]h)}(hafidh]hafid}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjNubah}(h]h ]h"]h$]h&]uh1jUhjKubjV)}(hhh]h)}(h:security channel - used by Plan 9 authentication protocolsh]h:security channel - used by Plan 9 authentication protocols}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjeubah}(h]h ]h"]h$]h&]uh1jUhjKubeh}(h]h ]h"]h$]h&]uh1jPhjMubjQ)}(hhh](jV)}(hhh]h)}(hnodevmaph]hnodevmap}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjubah}(h]h ]h"]h$]h&]uh1jUhjubjV)}(hhh]h)}(hdo not map special files - represent them as normal files. This can be used to share devices/named pipes/sockets between hosts. This functionality will be expanded in later versions.h]hdo not map special files - represent them as normal files. This can be used to share devices/named pipes/sockets between hosts. This functionality will be expanded in later versions.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjubah}(h]h ]h"]h$]h&]uh1jUhjubeh}(h]h ]h"]h$]h&]uh1jPhjMubjQ)}(hhh](jV)}(hhh]h)}(hdirectioh]hdirectio}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjubah}(h]h ]h"]h$]h&]uh1jUhjubjV)}(hhh]h)}(h.bypass page cache on all read/write operationsh]h.bypass page cache on all read/write operations}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjubah}(h]h ]h"]h$]h&]uh1jUhjubeh}(h]h ]h"]h$]h&]uh1jPhjMubjQ)}(hhh](jV)}(hhh]h)}(hignoreqvh]hignoreqv}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjubah}(h]h ]h"]h$]h&]uh1jUhjubjV)}(hhh]h)}(h1ignore qid.version==0 as a marker to ignore cacheh]h1ignore qid.version==0 as a marker to ignore cache}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj ubah}(h]h ]h"]h$]h&]uh1jUhjubeh}(h]h ]h"]h$]h&]uh1jPhjMubjQ)}(hhh](jV)}(hhh]h)}(hnoxattrh]hnoxattr}(hj-hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj*ubah}(h]h ]h"]h$]h&]uh1jUhj'ubjV)}(hhh]h)}(h+do not offer xattr functions on this mount.h]h+do not offer xattr functions on this mount.}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjAubah}(h]h ]h"]h$]h&]uh1jUhj'ubeh}(h]h ]h"]h$]h&]uh1jPhjMubjQ)}(hhh](jV)}(hhh]h)}(haccessh]haccess}(hjdhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjaubah}(h]h ]h"]h$]h&]uh1jUhj^ubjV)}(hhh]hdefinition_list)}(hhh]hdefinition_list_item)}(hXthere are four access modes. user if a user tries to access a file on v9fs filesystem for the first time, v9fs sends an attach command (Tattach) for that user. This is the default mode. allows only user with uid= to access the files on the mounted filesystem any v9fs does single attach and performs all operations as one user clien ACL based access check on the 9p client side for access validation h](hterm)}(hthere are four access modes.h]hthere are four access modes.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhhhKhjubh definition)}(hhh]j|)}(hhh](j)}(huser if a user tries to access a file on v9fs filesystem for the first time, v9fs sends an attach command (Tattach) for that user. This is the default mode.h](j)}(huserh]huser}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhhhKhjubj)}(hhh]h)}(hif a user tries to access a file on v9fs filesystem for the first time, v9fs sends an attach command (Tattach) for that user. This is the default mode.h]hif a user tries to access a file on v9fs filesystem for the first time, v9fs sends an attach command (Tattach) for that user. This is the default mode.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhhhKhjubj)}(hS allows only user with uid= to access the files on the mounted filesystemh](j)}(hh]h}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhhhKhjubj)}(hhh]h)}(hMallows only user with uid= to access the files on the mounted filesystemh]hMallows only user with uid= to access the files on the mounted filesystem}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhhhKhjubj)}(hCany v9fs does single attach and performs all operations as one userh](j)}(hanyh]hany}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhhhKhjubj)}(hhh]h)}(h?v9fs does single attach and performs all operations as one userh]h?v9fs does single attach and performs all operations as one user}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhhhKhjubj)}(hIclien ACL based access check on the 9p client side for access validation h](j)}(hclienh]hclien}(hj/hhhNhNubah}(h]h ]h"]h$]h&]uh1jhhhKhj+ubj)}(hhh]h)}(hBACL based access check on the 9p client side for access validationh]hBACL based access check on the 9p client side for access validation}(hj@hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj=ubah}(h]h ]h"]h$]h&]uh1jhj+ubeh}(h]h ]h"]h$]h&]uh1jhhhKhjubeh}(h]h ]h"]h$]h&]uh1j{hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhhhKhj}ubah}(h]h ]h"]h$]h&]uh1j{hjxubah}(h]h ]h"]h$]h&]uh1jUhj^ubeh}(h]h ]h"]h$]h&]uh1jPhjMubjQ)}(hhh](jV)}(hhh]h)}(hcachetagh]hcachetag}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjubah}(h]h ]h"]h$]h&]uh1jUhj~ubjV)}(hhh]h)}(hcache tag to use the specified persistent cache. cache tags for existing cache sessions can be listed at /sys/fs/9p/caches. (applies only to cache=fscache)h]hcache tag to use the specified persistent cache. cache tags for existing cache sessions can be listed at /sys/fs/9p/caches. (applies only to cache=fscache)}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjubah}(h]h ]h"]h$]h&]uh1jUhj~ubeh}(h]h ]h"]h$]h&]uh1jPhjMubjQ)}(hhh](jV)}(hhh]h)}(h negtimeouth]h negtimeout}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjubah}(h]h ]h"]h$]h&]uh1jUhjubjV)}(hhh]h)}(hthe duration (in milliseconds) that negative dentries (paths that do not actually exist) are retained in the cache. If set to a negative value, those entries are kept indefinitely until evicted by the buffer cache management systemh]hthe duration (in milliseconds) that negative dentries (paths that do not actually exist) are retained in the cache. If set to a negative value, those entries are kept indefinitely until evicted by the buffer cache management system}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjubah}(h]h ]h"]h$]h&]uh1jUhjubeh}(h]h ]h"]h$]h&]uh1jPhjMubeh}(h]h ]h"]h$]h&]uh1jKhj2ubeh}(h]h ]h"]h$]h&]colsKuh1j0hj-ubah}(h]h ]h"]h$]h&]uh1j+hj'ubah}(h]h ]h"]h$]h&]uh1jhhhKohjhhubeh}(h]optionsah ]h"]optionsah$]h&]uh1hhhhhhhhKmubh)}(hhh](h)}(hBehaviorh]hBehavior}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj hhhhhKubh)}(hdThis section aims at describing 9p 'quirks' that can be different from a local filesystem behaviors.h]hhThis section aims at describing 9p ‘quirks’ that can be different from a local filesystem behaviors.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj hhubj)}(h- Setting O_NONBLOCK on a file will make client reads return as early as the server returns some data instead of trying to fill the read buffer with the requested amount of bytes or end of file is reached. h]j)}(hhh]j)}(hSetting O_NONBLOCK on a file will make client reads return as early as the server returns some data instead of trying to fill the read buffer with the requested amount of bytes or end of file is reached. h]h)}(hSetting O_NONBLOCK on a file will make client reads return as early as the server returns some data instead of trying to fill the read buffer with the requested amount of bytes or end of file is reached.h]hSetting O_NONBLOCK on a file will make client reads return as early as the server returns some data instead of trying to fill the read buffer with the requested amount of bytes or end of file is reached.}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj3ubah}(h]h ]h"]h$]h&]uh1jhj0ubah}(h]h ]h"]h$]h&]jV-uh1jhhhKhj,ubah}(h]h ]h"]h$]h&]uh1jhhhKhj hhubeh}(h]behaviorah ]h"]behaviorah$]h&]uh1hhhhhhhhKubh)}(hhh](h)}(h Resourcesh]h Resources}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1hhj`hhhhhMubh)}(hRProtocol specifications are maintained on github: http://ericvh.github.com/9p-rfc/h](h2Protocol specifications are maintained on github: }(hjqhhhNhNubj)}(h http://ericvh.github.com/9p-rfc/h]h http://ericvh.github.com/9p-rfc/}(hjyhhhNhNubah}(h]h ]h"]h$]h&]refurij{uh1jhjqubeh}(h]h ]h"]h$]h&]uh1hhhhMhj`hhubh)}(hV9p client and server implementations are listed on http://9p.cat-v.org/implementationsh](h39p client and server implementations are listed on }(hjhhhNhNubj)}(h#http://9p.cat-v.org/implementationsh]h#http://9p.cat-v.org/implementations}(hjhhhNhNubah}(h]h ]h"]h$]h&]refurijuh1jhjubeh}(h]h ]h"]h$]h&]uh1hhhhMhj`hhubh)}(h_A 9p2000.L server is being developed by LLNL and can be found at http://code.google.com/p/diod/h](hAA 9p2000.L server is being developed by LLNL and can be found at }(hjhhhNhNubj)}(hhttp://code.google.com/p/diod/h]hhttp://code.google.com/p/diod/}(hjhhhNhNubah}(h]h ]h"]h$]h&]refurijuh1jhjubeh}(h]h ]h"]h$]h&]uh1hhhhMhj`hhubh)}(hThere are user and developer mailing lists available through the v9fs project on sourceforge (http://sourceforge.net/projects/v9fs).h](h^There are user and developer mailing lists available through the v9fs project on sourceforge (}(hjhhhNhNubj)}(h$http://sourceforge.net/projects/v9fsh]h$http://sourceforge.net/projects/v9fs}(hjhhhNhNubah}(h]h ]h"]h$]h&]refurijuh1jhjubh).}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhM hj`hhubh)}(hbNews and other information is maintained on a Wiki. (http://sf.net/apps/mediawiki/v9fs/index.php).h](h5News and other information is maintained on a Wiki. (}(hjhhhNhNubj)}(h+http://sf.net/apps/mediawiki/v9fs/index.phph]h+http://sf.net/apps/mediawiki/v9fs/index.php}(hjhhhNhNubah}(h]h ]h"]h$]h&]refurijuh1jhjubh).}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhMhj`hhubh)}(h1Bug reports are best issued via the mailing list.h]h1Bug reports are best issued via the mailing list.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMhj`hhubh)}(h^For more information on the Plan 9 Operating System check out http://plan9.bell-labs.com/plan9h](h>For more information on the Plan 9 Operating System check out }(hjhhhNhNubj)}(h http://plan9.bell-labs.com/plan9h]h http://plan9.bell-labs.com/plan9}(hj hhhNhNubah}(h]h ]h"]h$]h&]refurij"uh1jhjubeh}(h]h ]h"]h$]h&]uh1hhhhMhj`hhubh)}(hFor information on Plan 9 from User Space (Plan 9 applications and libraries ported to Linux/BSD/OSX/etc) check out https://9fans.github.io/plan9port/h](htFor information on Plan 9 from User Space (Plan 9 applications and libraries ported to Linux/BSD/OSX/etc) check out }(hj5hhhNhNubj)}(h"https://9fans.github.io/plan9port/h]h"https://9fans.github.io/plan9port/}(hj=hhhNhNubah}(h]h ]h"]h$]h&]refurij?uh1jhj5ubeh}(h]h ]h"]h$]h&]uh1hhhhMhj`hhubeh}(h] resourcesah ]h"] resourcesah$]h&]uh1hhhhhhhhMubeh}(h]&v9fs-plan-9-resource-sharing-for-linuxah ]h"]'v9fs: plan 9 resource sharing for linuxah$]h&]uh1hhhhhhhhKubeh}(h]h ]h"]h$]h&]sourcehuh1hcurrent_sourceN current_lineNsettingsdocutils.frontendValues)}(hN generatorN datestampN source_linkN source_urlN toc_backlinksjUfootnote_backlinksK sectnum_xformKstrip_commentsNstrip_elements_with_classesN strip_classesN report_levelK halt_levelKexit_status_levelKdebugNwarning_streamN tracebackinput_encoding utf-8-siginput_encoding_error_handlerstrictoutput_encodingutf-8output_encoding_error_handlerjerror_encodingutf-8error_encoding_error_handlerbackslashreplace language_codeenrecord_dependenciesNconfigN id_prefixhauto_id_prefixid dump_settingsNdump_internalsNdump_transformsNdump_pseudo_xmlNexpose_internalsNstrict_visitorN_disable_configN_sourcehnj _destinationN _config_files]7/var/lib/git/docbuild/linux/Documentation/docutils.confafile_insertion_enabled raw_enabledKline_length_limitM'pep_referencesN pep_base_urlhttps://peps.python.org/pep_file_url_templatepep-%04drfc_referencesN rfc_base_url&https://datatracker.ietf.org/doc/html/ tab_widthKtrim_footnote_reference_spacesyntax_highlightlong smart_quotessmartquotes_locales]character_level_inline_markupdoctitle_xform docinfo_xformKsectsubtitle_xform image_loadinglinkembed_stylesheetcloak_email_addressessection_self_linkenvNubreporterNindirect_targets]substitution_defs}substitution_names}refnames}refids}nameids}(j_j\jcj`jjjRjOjjj jj]jZjWjTu nametypes}(j_jcjjRjj j]jWuh}(j\hj`hjjfjOjjjUjjjZj jTj`u footnote_refs} citation_refs} autofootnotes]autofootnote_refs]symbol_footnotes]symbol_footnote_refs] footnotes] citations]autofootnote_startKsymbol_footnote_startK id_counter collectionsCounter}Rparse_messages]transform_messages] transformerN include_log] decorationNhhub.