aboutsummaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorDavid du Colombier <0intro@gmail.com>2012-08-05 19:17:18 +0200
committerDavid du Colombier <0intro@gmail.com>2012-08-05 19:17:18 +0200
commite31375ac4e12494f6a085cb2c9d51e9e61dd8216 (patch)
tree7c33ebe4d86bce1be6fe3eec7cd9ae0b9bf298a1 /bin
parentfee1a4639b69fb7402adc31432f492007e72d6d9 (diff)
downloadplan9port-e31375ac4e12494f6a085cb2c9d51e9e61dd8216.tar.gz
plan9port-e31375ac4e12494f6a085cb2c9d51e9e61dd8216.tar.bz2
plan9port-e31375ac4e12494f6a085cb2c9d51e9e61dd8216.zip
srv(4), mount: update v9fs usage
The v9fs usage is documented on https://www.kernel.org/doc/Documentation/filesystems/9p.txt R=rsc http://codereview.appspot.com/6445072
Diffstat (limited to 'bin')
-rwxr-xr-xbin/mount4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/mount b/bin/mount
index 2898c021..be5170f0 100755
--- a/bin/mount
+++ b/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