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]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}(hhhhhNhNubah}(h]h ]h"]h$]h&]refurimailto:rminnich@sandia.govuh1hhhubh<> and Maya Gokhale. Additional development by Greg Watson <}(hhhhhNhNubh)}(hgwatson@lanl.govh]hgwatson@lanl.gov}(hjhhhNhNubah}(h]h ]h"]h$]h&]refurimailto:gwatson@lanl.govuh1hhhubh)> and most recently Eric Van Hensbergen <}(hhhhhNhNubh)}(hericvh@gmail.comh]hericvh@gmail.com}(hjhhhNhNubah}(h]h ]h"]h$]h&]refurimailto:ericvh@gmail.comuh1hhhubh>, Latchesar Ionkov <}(hhhhhNhNubh)}(hlucho@ionkov.neth]hlucho@ionkov.net}(hj0hhhNhNubah}(h]h ]h"]h$]h&]refurimailto:lucho@ionkov.netuh1hhhubh> and Russ Cox <}(hhhhhNhNubh)}(h rsc@swtch.comh]h rsc@swtch.com}(hjDhhhNhNubah}(h]h ]h"]h$]h&]refurimailto:rsc@swtch.comuh1hhhubh>.}(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:}(hj^hhhNhNubah}(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]h)}(hjth]hChttps://www.usenix.org/events/usenix05/tech/freenix/hensbergen.html}(hjvhhhNhNubah}(h]h ]h"]h$]h&]refurijtuh1hhjrubah}(h]h ]h"]h$]h&]uh1hhhhKhjnubah}(h]h ]h"]h$]h&]uh1jlhhhKhhhhubh)}(h9Other applications are described in the following papers:h]h9Other applications are described in the following papers:}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhhhhubjm)}(hX* XCPU & Clustering http://xcpu.org/papers/xcpu-talk.pdf * KVMFS: control file system for KVM http://xcpu.org/papers/kvmfs.pdf * CellFS: A New Programming Model for the Cell BE http://xcpu.org/papers/cellfs-talk.pdf * PROSE I/O: Using 9p to enable Application Partitions 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)}(h6XCPU & Clustering http://xcpu.org/papers/xcpu-talk.pdfh]h)}(h6XCPU & Clustering http://xcpu.org/papers/xcpu-talk.pdfh](hXCPU & Clustering }(hjhhhNhNubh)}(h$http://xcpu.org/papers/xcpu-talk.pdfh]h$http://xcpu.org/papers/xcpu-talk.pdf}(hjhhhNhNubah}(h]h ]h"]h$]h&]refurijuh1hhjubeh}(h]h ]h"]h$]h&]uh1hhhhKhjubah}(h]h ]h"]h$]h&]uh1jhjubj)}(hCKVMFS: control file system for KVM http://xcpu.org/papers/kvmfs.pdfh]h)}(hCKVMFS: control file system for KVM http://xcpu.org/papers/kvmfs.pdfh](h#KVMFS: control file system for KVM }(hjhhhNhNubh)}(h http://xcpu.org/papers/kvmfs.pdfh]h http://xcpu.org/papers/kvmfs.pdf}(hjhhhNhNubah}(h]h ]h"]h$]h&]refurijuh1hhjubeh}(h]h ]h"]h$]h&]uh1hhhhKhjubah}(h]h ]h"]h$]h&]uh1jhjubj)}(hVCellFS: A New Programming Model for the Cell BE http://xcpu.org/papers/cellfs-talk.pdfh]h)}(hVCellFS: A New Programming Model for the Cell BE http://xcpu.org/papers/cellfs-talk.pdfh](h0CellFS: A New Programming Model for the Cell BE }(hjhhhNhNubh)}(h&http://xcpu.org/papers/cellfs-talk.pdfh]h&http://xcpu.org/papers/cellfs-talk.pdf}(hjhhhNhNubah}(h]h ]h"]h$]h&]refurijuh1hhjubeh}(h]h ]h"]h$]h&]uh1hhhhKhjubah}(h]h ]h"]h$]h&]uh1jhjubj)}(hoPROSE I/O: Using 9p to enable Application Partitions http://plan9.escet.urjc.es/iwp9/cready/PROSE_iwp9_2006.pdfh]h)}(hoPROSE I/O: Using 9p to enable Application Partitions http://plan9.escet.urjc.es/iwp9/cready/PROSE_iwp9_2006.pdfh](h5PROSE I/O: Using 9p to enable Application Partitions }(hj"hhhNhNubh)}(h:http://plan9.escet.urjc.es/iwp9/cready/PROSE_iwp9_2006.pdfh]h:http://plan9.escet.urjc.es/iwp9/cready/PROSE_iwp9_2006.pdf}(hj*hhhNhNubah}(h]h ]h"]h$]h&]refurij,uh1hhj"ubeh}(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 }(hjIhhhNhNubh)}(h9https://kernel.org/doc/ols/2010/ols2010-pages-109-120.pdfh]h9https://kernel.org/doc/ols/2010/ols2010-pages-109-120.pdf}(hjQhhhNhNubah}(h]h ]h"]h$]h&]refurijSuh1hhjIubeh}(h]h ]h"]h$]h&]uh1hhhhK!hjEubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]bullet*uh1jhhhKhjubah}(h]h ]h"]h$]h&]uh1jlhhhKhhhhubeh}(h]aboutah ]h"]aboutah$]h&]uh1hhhhhhhhKubh)}(hhh](h)}(hUsageh]hUsage}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhhhhhK%ubh)}(hFor remote file server::h]hFor remote file server:}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK'hjhhubh 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)hjhhubh)}(hNFor Plan 9 From User Space applications (https://9fans.github.io/plan9port/)::h](h)For Plan 9 From User Space applications (}(hjhhhNhNubh)}(h"https://9fans.github.io/plan9port/h]h"https://9fans.github.io/plan9port/}(hjhhhNhNubah}(h]h ]h"]h$]h&]refurijuh1hhjubh):}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhK+hjhhubj)}(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-hjhhubh)}(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/hjhhubj)}(h.mount -t 9p -o trans=virtio /mnt/9h]h.mount -t 9p -o trans=virtio /mnt/9}hjsbah}(h]h ]h"]h$]h&]hhuh1jhhhK1hjhhubh)}(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&]uh1hhhhK3hjhhubeh}(h]usageah ]h"]usageah$]h&]uh1hhhhhhhhK%ubh)}(hhh](h)}(h USBG Usageh]h USBG Usage}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhhhhhK9ubh)}(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:}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK;hjhhubj)}(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}hj1sbah}(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?hjhhubj)}(hzroot= 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}hjMsbah}(h]h ]h"]h$]h&]hhuh1jhhhKAhjhhubh)}(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&]uh1hhhhKChjhhubeh}(h] usbg-usageah ]h"] usbg usageah$]h&]uh1hhhhhhhhK9ubh)}(hhh](h)}(h USBG Exampleh]h USBG Example}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1hhjqhhhhhKGubh)}(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.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKIhjqhhubh)}(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.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKLhjqhhubh)}(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&]uh1hhhhKQhjqhhubh)}(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&]uh1hhhhKUhjqhhubh)}(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&]uh1hhhhKYhjqhhubj)}(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&]hhuh1jhhhK[hjqhhubh)}(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&]uh1hhhhK]hjqhhubj)}(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_hjqhhubh)}(h!Then start the python transport::h]h Then start the python transport:}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKfhjqhhubj)}(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&]hhuh1jhhhKhhjqhhubh)}(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) ============= =============================================================== h]htable)}(hhh]htgroup)}(hhh](hcolspec)}(hhh]h}(h]h ]h"]h$]h&]colwidthK uh1jQhjNubjR)}(hhh]h}(h]h ]h"]h$]h&]colwidthKHuh1jQhjNubhtbody)}(hhh](hrow)}(hhh](hentry)}(hhh]h)}(h trans=nameh]h trans=name}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKshjsubah}(h]h ]h"]h$]h&]uh1jqhjnubjr)}(hhh](h)}(h>select an alternative transport. Valid options are currently:h]h>select an alternative transport. Valid options are currently:}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKshjubjm)}(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]jH)}(hhh]jM)}(hhh](jR)}(hhh]h}(h]h ]h"]h$]h&]colwidthKuh1jQhjubjR)}(hhh]h}(h]h ]h"]h$]h&]colwidthK,uh1jQhjubjh)}(hhh](jm)}(hhh](jr)}(hhh]h)}(hunixh]hunix}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKwhjubah}(h]h ]h"]h$]h&]uh1jqhjubjr)}(hhh]h)}(h#specifying a named pipe mount pointh]h#specifying a named pipe mount point}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKwhjubah}(h]h ]h"]h$]h&]uh1jqhjubeh}(h]h ]h"]h$]h&]uh1jlhjubjm)}(hhh](jr)}(hhh]h)}(htcph]htcp}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKxhjubah}(h]h ]h"]h$]h&]uh1jqhjubjr)}(hhh]h)}(h%specifying a normal TCP/IP connectionh]h%specifying a normal TCP/IP connection}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKxhj ubah}(h]h ]h"]h$]h&]uh1jqhjubeh}(h]h ]h"]h$]h&]uh1jlhjubjm)}(hhh](jr)}(hhh]h)}(hfdh]hfd}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKyhj-ubah}(h]h ]h"]h$]h&]uh1jqhj*ubjr)}(hhh]h)}(hAused passed file descriptors for connection (see rfdno and wfdno)h]hAused passed file descriptors for connection (see rfdno and wfdno)}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKyhjDubah}(h]h ]h"]h$]h&]uh1jqhj*ubeh}(h]h ]h"]h$]h&]uh1jlhjubjm)}(hhh](jr)}(hhh]h)}(hvirtioh]hvirtio}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK{hjdubah}(h]h ]h"]h$]h&]uh1jqhjaubjr)}(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)}(hj~hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK{hj{ubah}(h]h ]h"]h$]h&]uh1jqhjaubeh}(h]h ]h"]h$]h&]uh1jlhjubjm)}(hhh](jr)}(hhh]h)}(hrdmah]hrdma}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK}hjubah}(h]h ]h"]h$]h&]uh1jqhjubjr)}(hhh]h)}(h#connect to a specified RDMA channelh]h#connect to a specified RDMA channel}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK}hjubah}(h]h ]h"]h$]h&]uh1jqhjubeh}(h]h ]h"]h$]h&]uh1jlhjubjm)}(hhh](jr)}(hhh]h)}(husbgh]husbg}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK~hjubah}(h]h ]h"]h$]h&]uh1jqhjubjr)}(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&]uh1jqhjubeh}(h]h ]h"]h$]h&]uh1jlhjubeh}(h]h ]h"]h$]h&]uh1jghjubeh}(h]h ]h"]h$]h&]colsKuh1jLhjubah}(h]h ]h"]h$]h&]uh1jGhjubah}(h]h ]h"]h$]h&]uh1jlhhhKvhjubeh}(h]h ]h"]h$]h&]uh1jqhjnubeh}(h]h ]h"]h$]h&]uh1jlhjiubjm)}(hhh](jr)}(hhh]h)}(h uname=nameh]h uname=name}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj.ubah}(h]h ]h"]h$]h&]uh1jqhj+ubjr)}(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.}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjEubah}(h]h ]h"]h$]h&]uh1jqhj+ubeh}(h]h ]h"]h$]h&]uh1jlhjiubjm)}(hhh](jr)}(hhh]h)}(h aname=nameh]h aname=name}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjeubah}(h]h ]h"]h$]h&]uh1jqhjbubjr)}(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.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj|ubah}(h]h ]h"]h$]h&]uh1jqhjbubeh}(h]h ]h"]h$]h&]uh1jlhjiubjm)}(hhh](jr)}(hhh]h)}(h cache=modeh]h cache=mode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjubah}(h]h ]h"]h$]h&]uh1jqhjubjr)}(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&]uh1hhhhKhjubjm)}(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]jH)}(hhh]jM)}(hhh](jR)}(hhh]h}(h]h ]h"]h$]h&]colwidthK uh1jQhjubjR)}(hhh]h}(h]h ]h"]h$]h&]colwidthK4uh1jQhjubjh)}(hhh](jm)}(hhh](jr)}(hhh]h)}(h 0b00000000h]h 0b00000000}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjubah}(h]h ]h"]h$]h&]uh1jqhjubjr)}(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&]uh1jqhjubeh}(h]h ]h"]h$]h&]uh1jlhjubjm)}(hhh](jr)}(hhh]h)}(h 0b00000001h]h 0b00000001}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjubah}(h]h ]h"]h$]h&]uh1jqhjubjr)}(hhh]h)}(hfile caches enabledh]hfile caches enabled}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj6ubah}(h]h ]h"]h$]h&]uh1jqhjubeh}(h]h ]h"]h$]h&]uh1jlhjubjm)}(hhh](jr)}(hhh]h)}(h 0b00000010h]h 0b00000010}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjVubah}(h]h ]h"]h$]h&]uh1jqhjSubjr)}(hhh]h)}(hmeta-data caches enabledh]hmeta-data caches enabled}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjmubah}(h]h ]h"]h$]h&]uh1jqhjSubeh}(h]h ]h"]h$]h&]uh1jlhjubjm)}(hhh](jr)}(hhh]h)}(h 0b00000100h]h 0b00000100}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjubah}(h]h ]h"]h$]h&]uh1jqhjubjr)}(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&]uh1jqhjubeh}(h]h ]h"]h$]h&]uh1jlhjubjm)}(hhh](jr)}(hhh]h)}(h 0b00001000h]h 0b00001000}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjubah}(h]h ]h"]h$]h&]uh1jqhjubjr)}(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&]uh1jqhjubeh}(h]h ]h"]h$]h&]uh1jlhjubjm)}(hhh](jr)}(hhh]h)}(h 0b10000000h]h 0b10000000}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjubah}(h]h ]h"]h$]h&]uh1jqhjubjr)}(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&]uh1jqhjubeh}(h]h ]h"]h$]h&]uh1jlhjubeh}(h]h ]h"]h$]h&]uh1jghjubeh}(h]h ]h"]h$]h&]colsKuh1jLhjubah}(h]h ]h"]h$]h&]uh1jGhjubah}(h]h ]h"]h$]h&]uh1jlhhhKhjubh)}(h7The current shortcuts and their associated bitmask are:h]h7The current shortcuts and their associated bitmask are:}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjubjm)}(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]jH)}(hhh]jM)}(hhh](jR)}(hhh]h}(h]h ]h"]h$]h&]colwidthK uh1jQhj]ubjR)}(hhh]h}(h]h ]h"]h$]h&]colwidthK4uh1jQhj]ubjh)}(hhh](jm)}(hhh](jr)}(hhh]h)}(hnoneh]hnone}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjzubah}(h]h ]h"]h$]h&]uh1jqhjwubjr)}(hhh]h)}(h0b00000000 (no caching)h]h0b00000000 (no caching)}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjubah}(h]h ]h"]h$]h&]uh1jqhjwubeh}(h]h ]h"]h$]h&]uh1jlhjtubjm)}(hhh](jr)}(hhh]h)}(h readaheadh]h readahead}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjubah}(h]h ]h"]h$]h&]uh1jqhjubjr)}(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&]uh1jqhjubeh}(h]h ]h"]h$]h&]uh1jlhjtubjm)}(hhh](jr)}(hhh]h)}(hmmaph]hmmap}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjubah}(h]h ]h"]h$]h&]uh1jqhjubjr)}(hhh]h)}(h.0b00000101 (read-ahead + writeback file cache)h]h.0b00000101 (read-ahead + writeback file cache)}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjubah}(h]h ]h"]h$]h&]uh1jqhjubeh}(h]h ]h"]h$]h&]uh1jlhjtubjm)}(hhh](jr)}(hhh]h)}(hlooseh]hloose}(hj" hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj ubah}(h]h ]h"]h$]h&]uh1jqhj ubjr)}(hhh]h)}(h30b00001111 (non-coherent file and meta-data caches)h]h30b00001111 (non-coherent file and meta-data caches)}(hj9 hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj6 ubah}(h]h ]h"]h$]h&]uh1jqhj ubeh}(h]h ]h"]h$]h&]uh1jlhjtubjm)}(hhh](jr)}(hhh]h)}(hfscacheh]hfscache}(hjY hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjV ubah}(h]h ]h"]h$]h&]uh1jqhjS ubjr)}(hhh]h)}(h#0b10001111 (persistent loose cache)h]h#0b10001111 (persistent loose cache)}(hjp hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjm ubah}(h]h ]h"]h$]h&]uh1jqhjS ubeh}(h]h ]h"]h$]h&]uh1jlhjtubeh}(h]h ]h"]h$]h&]uh1jghj]ubeh}(h]h ]h"]h$]h&]colsKuh1jLhjZubah}(h]h ]h"]h$]h&]uh1jGhjVubah}(h]h ]h"]h$]h&]uh1jlhhhKhjubh)}(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&]uh1jqhjubeh}(h]h ]h"]h$]h&]uh1jlhjiubjm)}(hhh](jr)}(hhh]h)}(hdebug=nh]hdebug=n}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj ubah}(h]h ]h"]h$]h&]uh1jqhj ubjr)}(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 ubjm)}(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]jH)}(hhh]jM)}(hhh](jR)}(hhh]h}(h]h ]h"]h$]h&]colwidthKuh1jQhj ubjR)}(hhh]h}(h]h ]h"]h$]h&]colwidthK uh1jQhj ubjh)}(hhh](jm)}(hhh](jr)}(hhh]h)}(h0x01h]h0x01}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj ubah}(h]h ]h"]h$]h&]uh1jqhj ubjr)}(hhh]h)}(hdisplay verbose error messagesh]hdisplay verbose error messages}(hj4 hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj1 ubah}(h]h ]h"]h$]h&]uh1jqhj ubeh}(h]h ]h"]h$]h&]uh1jlhj ubjm)}(hhh](jr)}(hhh]h)}(h0x02h]h0x02}(hjT hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjQ ubah}(h]h ]h"]h$]h&]uh1jqhjN ubjr)}(hhh]h)}(hdeveloper debug (DEBUG_CURRENT)h]hdeveloper debug (DEBUG_CURRENT)}(hjk hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjh ubah}(h]h ]h"]h$]h&]uh1jqhjN ubeh}(h]h ]h"]h$]h&]uh1jlhj ubjm)}(hhh](jr)}(hhh]h)}(h0x04h]h0x04}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj ubah}(h]h ]h"]h$]h&]uh1jqhj ubjr)}(hhh]h)}(hdisplay 9p traceh]hdisplay 9p trace}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj ubah}(h]h ]h"]h$]h&]uh1jqhj ubeh}(h]h ]h"]h$]h&]uh1jlhj ubjm)}(hhh](jr)}(hhh]h)}(h0x08h]h0x08}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj ubah}(h]h ]h"]h$]h&]uh1jqhj ubjr)}(hhh]h)}(hdisplay VFS traceh]hdisplay VFS trace}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj ubah}(h]h ]h"]h$]h&]uh1jqhj ubeh}(h]h ]h"]h$]h&]uh1jlhj ubjm)}(hhh](jr)}(hhh]h)}(h0x10h]h0x10}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj ubah}(h]h ]h"]h$]h&]uh1jqhj ubjr)}(hhh]h)}(hdisplay Marshalling debugh]hdisplay Marshalling debug}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj ubah}(h]h ]h"]h$]h&]uh1jqhj ubeh}(h]h ]h"]h$]h&]uh1jlhj ubjm)}(hhh](jr)}(hhh]h)}(h0x20h]h0x20}(hj0 hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj- ubah}(h]h ]h"]h$]h&]uh1jqhj* ubjr)}(hhh]h)}(hdisplay RPC debugh]hdisplay RPC debug}(hjG hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjD ubah}(h]h ]h"]h$]h&]uh1jqhj* ubeh}(h]h ]h"]h$]h&]uh1jlhj ubjm)}(hhh](jr)}(hhh]h)}(h0x40h]h0x40}(hjg hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjd ubah}(h]h ]h"]h$]h&]uh1jqhja ubjr)}(hhh]h)}(hdisplay transport debugh]hdisplay transport debug}(hj~ hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj{ ubah}(h]h ]h"]h$]h&]uh1jqhja ubeh}(h]h ]h"]h$]h&]uh1jlhj ubjm)}(hhh](jr)}(hhh]h)}(h0x80h]h0x80}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj ubah}(h]h ]h"]h$]h&]uh1jqhj ubjr)}(hhh]h)}(hdisplay allocation debugh]hdisplay allocation debug}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj ubah}(h]h ]h"]h$]h&]uh1jqhj ubeh}(h]h ]h"]h$]h&]uh1jlhj ubjm)}(hhh](jr)}(hhh]h)}(h0x100h]h0x100}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj ubah}(h]h ]h"]h$]h&]uh1jqhj ubjr)}(hhh]h)}(hdisplay protocol message debugh]hdisplay protocol message debug}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj ubah}(h]h ]h"]h$]h&]uh1jqhj ubeh}(h]h ]h"]h$]h&]uh1jlhj ubjm)}(hhh](jr)}(hhh]h)}(h0x200h]h0x200}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj ubah}(h]h ]h"]h$]h&]uh1jqhj ubjr)}(hhh]h)}(hdisplay Fid debugh]hdisplay Fid debug}(hj# hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj ubah}(h]h ]h"]h$]h&]uh1jqhj ubeh}(h]h ]h"]h$]h&]uh1jlhj ubjm)}(hhh](jr)}(hhh]h)}(h0x400h]h0x400}(hjC hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj@ ubah}(h]h ]h"]h$]h&]uh1jqhj= ubjr)}(hhh]h)}(hdisplay packet debugh]hdisplay packet debug}(hjZ hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjW ubah}(h]h ]h"]h$]h&]uh1jqhj= ubeh}(h]h ]h"]h$]h&]uh1jlhj ubjm)}(hhh](jr)}(hhh]h)}(h0x800h]h0x800}(hjz hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjw ubah}(h]h ]h"]h$]h&]uh1jqhjt ubjr)}(hhh]h)}(hdisplay fscache tracing debugh]hdisplay fscache tracing debug}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj ubah}(h]h ]h"]h$]h&]uh1jqhjt ubeh}(h]h ]h"]h$]h&]uh1jlhj ubeh}(h]h ]h"]h$]h&]uh1jghj ubeh}(h]h ]h"]h$]h&]colsKuh1jLhj ubah}(h]h ]h"]h$]h&]uh1jGhj ubah}(h]h ]h"]h$]h&]uh1jlhhhKhj ubeh}(h]h ]h"]h$]h&]uh1jqhj ubeh}(h]h ]h"]h$]h&]uh1jlhjiubjm)}(hhh](jr)}(hhh]h)}(hrfdno=nh]hrfdno=n}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj ubah}(h]h ]h"]h$]h&]uh1jqhj ubjr)}(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&]uh1jqhj ubeh}(h]h ]h"]h$]h&]uh1jlhjiubjm)}(hhh](jr)}(hhh]h)}(hwfdno=nh]hwfdno=n}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj ubah}(h]h ]h"]h$]h&]uh1jqhj ubjr)}(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&]uh1jqhj ubeh}(h]h ]h"]h$]h&]uh1jlhjiubjm)}(hhh](jr)}(hhh]h)}(hmsize=nh]hmsize=n}(hjD hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjA ubah}(h]h ]h"]h$]h&]uh1jqhj> ubjr)}(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&]uh1hhhhKhjX ubah}(h]h ]h"]h$]h&]uh1jqhj> ubeh}(h]h ]h"]h$]h&]uh1jlhjiubjm)}(hhh](jr)}(hhh]h)}(hport=nh]hport=n}(hj{ hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjx ubah}(h]h ]h"]h$]h&]uh1jqhju ubjr)}(hhh]h)}(h'port to connect to on the remote serverh]h'port to connect to on the remote server}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj ubah}(h]h ]h"]h$]h&]uh1jqhju ubeh}(h]h ]h"]h$]h&]uh1jlhjiubjm)}(hhh](jr)}(hhh]h)}(hnoextendh]hnoextend}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj ubah}(h]h ]h"]h$]h&]uh1jqhj ubjr)}(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&]uh1jqhj ubeh}(h]h ]h"]h$]h&]uh1jlhjiubjm)}(hhh](jr)}(hhh]h)}(h version=nameh]h version=name}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj ubah}(h]h ]h"]h$]h&]uh1jqhj ubjr)}(hhh](h)}(h.Select 9P protocol version. Valid options are:h]h.Select 9P protocol version. Valid options are:}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj ubjm)}(h======== ============================== 9p2000 Legacy mode (same as noextend) 9p2000.u Use 9P2000.u protocol 9p2000.L Use 9P2000.L protocol ======== ============================== h]jH)}(hhh]jM)}(hhh](jR)}(hhh]h}(h]h ]h"]h$]h&]colwidthKuh1jQhjubjR)}(hhh]h}(h]h ]h"]h$]h&]colwidthKuh1jQhjubjh)}(hhh](jm)}(hhh](jr)}(hhh]h)}(h9p2000h]h9p2000}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj2ubah}(h]h ]h"]h$]h&]uh1jqhj/ubjr)}(hhh]h)}(hLegacy mode (same as noextend)h]hLegacy mode (same as noextend)}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjIubah}(h]h ]h"]h$]h&]uh1jqhj/ubeh}(h]h ]h"]h$]h&]uh1jlhj,ubjm)}(hhh](jr)}(hhh]h)}(h9p2000.uh]h9p2000.u}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjiubah}(h]h ]h"]h$]h&]uh1jqhjfubjr)}(hhh]h)}(hUse 9P2000.u protocolh]hUse 9P2000.u protocol}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjubah}(h]h ]h"]h$]h&]uh1jqhjfubeh}(h]h ]h"]h$]h&]uh1jlhj,ubjm)}(hhh](jr)}(hhh]h)}(h9p2000.Lh]h9p2000.L}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjubah}(h]h ]h"]h$]h&]uh1jqhjubjr)}(hhh]h)}(hUse 9P2000.L protocolh]hUse 9P2000.L protocol}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjubah}(h]h ]h"]h$]h&]uh1jqhjubeh}(h]h ]h"]h$]h&]uh1jlhj,ubeh}(h]h ]h"]h$]h&]uh1jghjubeh}(h]h ]h"]h$]h&]colsKuh1jLhjubah}(h]h ]h"]h$]h&]uh1jGhjubah}(h]h ]h"]h$]h&]uh1jlhhhKhj ubeh}(h]h ]h"]h$]h&]uh1jqhj ubeh}(h]h ]h"]h$]h&]uh1jlhjiubjm)}(hhh](jr)}(hhh]h)}(hdfltuidh]hdfltuid}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjubah}(h]h ]h"]h$]h&]uh1jqhjubjr)}(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&]uh1jqhjubeh}(h]h ]h"]h$]h&]uh1jlhjiubjm)}(hhh](jr)}(hhh]h)}(hdfltgidh]hdfltgid}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj3ubah}(h]h ]h"]h$]h&]uh1jqhj0ubjr)}(hhh]h)}(h&attempt to mount with a particular gidh]h&attempt to mount with a particular gid}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjJubah}(h]h ]h"]h$]h&]uh1jqhj0ubeh}(h]h ]h"]h$]h&]uh1jlhjiubjm)}(hhh](jr)}(hhh]h)}(hafidh]hafid}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjjubah}(h]h ]h"]h$]h&]uh1jqhjgubjr)}(hhh]h)}(h:security channel - used by Plan 9 authentication protocolsh]h:security channel - used by Plan 9 authentication protocols}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjubah}(h]h ]h"]h$]h&]uh1jqhjgubeh}(h]h ]h"]h$]h&]uh1jlhjiubjm)}(hhh](jr)}(hhh]h)}(hnodevmaph]hnodevmap}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjubah}(h]h ]h"]h$]h&]uh1jqhjubjr)}(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&]uh1jqhjubeh}(h]h ]h"]h$]h&]uh1jlhjiubjm)}(hhh](jr)}(hhh]h)}(hdirectioh]hdirectio}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjubah}(h]h ]h"]h$]h&]uh1jqhjubjr)}(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&]uh1jqhjubeh}(h]h ]h"]h$]h&]uh1jlhjiubjm)}(hhh](jr)}(hhh]h)}(hignoreqvh]hignoreqv}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjubah}(h]h ]h"]h$]h&]uh1jqhj ubjr)}(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&]uh1jqhj ubeh}(h]h ]h"]h$]h&]uh1jlhjiubjm)}(hhh](jr)}(hhh]h)}(hnoxattrh]hnoxattr}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjFubah}(h]h ]h"]h$]h&]uh1jqhjCubjr)}(hhh]h)}(h+do not offer xattr functions on this mount.h]h+do not offer xattr functions on this mount.}(hj`hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj]ubah}(h]h ]h"]h$]h&]uh1jqhjCubeh}(h]h ]h"]h$]h&]uh1jlhjiubjm)}(hhh](jr)}(hhh]h)}(haccessh]haccess}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj}ubah}(h]h ]h"]h$]h&]uh1jqhjzubjr)}(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}(hj-hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj*ubah}(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}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1jhhhKhjGubj)}(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&]uh1hhhhKhjYubah}(h]h ]h"]h$]h&]uh1jhjGubeh}(h]h ]h"]h$]h&]uh1jhhhKhjubeh}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhhhKhjubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jqhjzubeh}(h]h ]h"]h$]h&]uh1jlhjiubjm)}(hhh](jr)}(hhh]h)}(hcachetagh]hcachetag}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjubah}(h]h ]h"]h$]h&]uh1jqhjubjr)}(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&]uh1jqhjubeh}(h]h ]h"]h$]h&]uh1jlhjiubeh}(h]h ]h"]h$]h&]uh1jghjNubeh}(h]h ]h"]h$]h&]colsKuh1jLhjIubah}(h]h ]h"]h$]h&]uh1jGhjCubah}(h]h ]h"]h$]h&]uh1jlhhhKrhj2hhubeh}(h]optionsah ]h"]optionsah$]h&]uh1hhhhhhhhKpubh)}(hhh](h)}(hBehaviorh]hBehavior}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhhhhhKubh)}(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&]uh1hhhhKhjhhubjm)}(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.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]jr-uh1jhhhKhjubah}(h]h ]h"]h$]h&]uh1jlhhhKhjhhubeh}(h]behaviorah ]h"]behaviorah$]h&]uh1hhhhhhhhKubh)}(hhh](h)}(h Resourcesh]h Resources}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjEhhhhhKubh)}(hRProtocol specifications are maintained on github: http://ericvh.github.com/9p-rfc/h](h2Protocol specifications are maintained on github: }(hjVhhhNhNubh)}(h http://ericvh.github.com/9p-rfc/h]h http://ericvh.github.com/9p-rfc/}(hj^hhhNhNubah}(h]h ]h"]h$]h&]refurij`uh1hhjVubeh}(h]h ]h"]h$]h&]uh1hhhhMhjEhhubh)}(hV9p client and server implementations are listed on http://9p.cat-v.org/implementationsh](h39p client and server implementations are listed on }(hjshhhNhNubh)}(h#http://9p.cat-v.org/implementationsh]h#http://9p.cat-v.org/implementations}(hj{hhhNhNubah}(h]h ]h"]h$]h&]refurij}uh1hhjsubeh}(h]h ]h"]h$]h&]uh1hhhhMhjEhhubh)}(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 }(hjhhhNhNubh)}(hhttp://code.google.com/p/diod/h]hhttp://code.google.com/p/diod/}(hjhhhNhNubah}(h]h ]h"]h$]h&]refurijuh1hhjubeh}(h]h ]h"]h$]h&]uh1hhhhMhjEhhubh)}(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 (}(hjhhhNhNubh)}(h$http://sourceforge.net/projects/v9fsh]h$http://sourceforge.net/projects/v9fs}(hjhhhNhNubah}(h]h ]h"]h$]h&]refurijuh1hhjubh).}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhM hjEhhubh)}(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. (}(hjhhhNhNubh)}(h+http://sf.net/apps/mediawiki/v9fs/index.phph]h+http://sf.net/apps/mediawiki/v9fs/index.php}(hjhhhNhNubah}(h]h ]h"]h$]h&]refurijuh1hhjubh).}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhM hjEhhubh)}(h1Bug reports are best issued via the mailing list.h]h1Bug reports are best issued via the mailing list.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMhjEhhubh)}(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 }(hjhhhNhNubh)}(h http://plan9.bell-labs.com/plan9h]h http://plan9.bell-labs.com/plan9}(hjhhhNhNubah}(h]h ]h"]h$]h&]refurijuh1hhjubeh}(h]h ]h"]h$]h&]uh1hhhhMhjEhhubh)}(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 }(hjhhhNhNubh)}(h"https://9fans.github.io/plan9port/h]h"https://9fans.github.io/plan9port/}(hj"hhhNhNubah}(h]h ]h"]h$]h&]refurij$uh1hhjubeh}(h]h ]h"]h$]h&]uh1hhhhMhjEhhubeh}(h] resourcesah ]h"] resourcesah$]h&]uh1hhhhhhhhKubeh}(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_backlinksjqfootnote_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_handlerjierror_encodingutf-8error_encoding_error_handlerbackslashreplace language_codeenrecord_dependenciesNconfigN id_prefixhauto_id_prefixid dump_settingsNdump_internalsNdump_transformsNdump_pseudo_xmlNexpose_internalsNstrict_visitorN_disable_configN_sourceh _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}(jDjAjj|jj jnjkj/j,jjjBj?j<j9u nametypes}(jDjjjnj/jjBj<uh}(jAhj|hj jjkjj,jqjj2j?jj9jEu 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.