summaryrefslogtreecommitdiffhomepage
path: root/pkg
diff options
context:
space:
mode:
authorMichael Pratt <mpratt@google.com>2018-07-02 10:22:05 -0700
committerShentubot <shentubot@google.com>2018-07-02 10:23:27 -0700
commit7f9c822f536fb6095ab25f5ae738f3e45855ce43 (patch)
treea6ce4dde415f09c99e2b698c3f5c375b510ad4ef /pkg
parentca353b53ed09c94ecf655dba991c7b587026d12a (diff)
Drop version option from mount command
Fun fact: in protocol version negotiation, our 9p version must be written "9P2000.L". In the 'version' mount option, it must be written "9p2000.L". Very consistent! The mount command as given complains about an unknown protocol version. Drop it entirely because Linux defaults to 9p2000.L anyways. PiperOrigin-RevId: 202971961 Change-Id: I5d46c83f03182476033db9c36870c68aeaf30f65
Diffstat (limited to 'pkg')
-rw-r--r--pkg/p9/local_server/local_server.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/p9/local_server/local_server.go b/pkg/p9/local_server/local_server.go
index 7a3e4cffe..b4db44e27 100644
--- a/pkg/p9/local_server/local_server.go
+++ b/pkg/p9/local_server/local_server.go
@@ -18,7 +18,7 @@
// local_server /tmp/my_bind_addr
//
// Then, connect using the Linux 9P filesystem:
-// mount -t 9p -o trans=unix,version=9P2000.L /tmp/my_bind_addr /mnt
+// mount -t 9p -o trans=unix /tmp/my_bind_addr /mnt
//
// This package also serves as an examplar.
package main