Skip to content

Commit 2941937

Browse files
prattmicshentubot
authored andcommitted
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
1 parent 2dc4d7f commit 2941937

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/p9/local_server/local_server.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
// local_server /tmp/my_bind_addr
1919
//
2020
// Then, connect using the Linux 9P filesystem:
21-
// mount -t 9p -o trans=unix,version=9P2000.L /tmp/my_bind_addr /mnt
21+
// mount -t 9p -o trans=unix /tmp/my_bind_addr /mnt
2222
//
2323
// This package also serves as an examplar.
2424
package main

0 commit comments

Comments
 (0)