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
This commit is contained in:
Michael Pratt 2018-07-02 10:22:05 -07:00 committed by Shentubot
parent ca353b53ed
commit 7f9c822f53
1 changed files with 1 additions and 1 deletions

View File

@ -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