Commit Diff


commit - fee1a4639b69fb7402adc31432f492007e72d6d9
commit + e31375ac4e12494f6a085cb2c9d51e9e61dd8216
blob - 2898c0215f4bf851798e5dd56cf062a90aeca031
blob + be5170f0fc908434cff25d362ca2cd583b10c540
--- bin/mount
+++ bin/mount
@@ -8,8 +8,8 @@ switch(`{uname}){
 case Linux
 	if(9 grep -si '	9p(2000)?$' /proc/filesystems){
 		if(u test -S $1)
-			exec u mount -t 9p -o proto'='unix,name'='$USER $1 $2
-		exec u mount -t 9p -o proto'='tcp,name'='$USER $1 $2
+			exec u mount -t 9p -o trans'='unix,uname'='$USER $1 $2
+		exec u mount -t 9p -o trans'='tcp,uname'='$USER $1 $2
 	}
 	if(9 grep -si '	fuse$' /proc/filesystems)
 		exec 9pfuse $1 $2
blob - ccd0f03427148e4187b520b9a977fc8cc0e2297d
blob + 856f88ff3d23e7e0e0c06d2506ef338ecfcdbedc
--- man/man4/srv.4
+++ man/man4/srv.4
@@ -90,7 +90,7 @@ handling authentication:
 .IP
 .EX
 srv -a sources.cs.bell-labs.com sources
-sudo mount -t 9P -o user=$USER,uid=`id -u`,gid=`id -g`,proto=unix
+sudo mount -t 9p -o trans=unix,uname=$USER,dfltuid=`id -u`,dfltgid=`id -g`
            `namespace`/sources /n/sources
 .EE
 .SH SOURCE