From 7f9c822f536fb6095ab25f5ae738f3e45855ce43 Mon Sep 17 00:00:00 2001 From: Michael Pratt Date: Mon, 2 Jul 2018 10:22:05 -0700 Subject: [PATCH] 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 --- pkg/p9/local_server/local_server.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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