diff --git a/bin/mount b/bin/mount index 90136b11..aa106e80 100755 --- a/bin/mount +++ b/bin/mount @@ -7,9 +7,9 @@ if(! ~ $#* 2){ switch(`{uname}){ case Linux if(lsmod|9 grep -si '^9p(2000)? '){ - if(test -S $1) - exec mount -t 9p -o proto'='unix,name'='$USER $1 $2 - exec mount -t 9p -o proto'='tcp,name'='$USER $1 $2 + 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 } if(lsmod|9 grep -si '^fuse ') exec 9pfuse $1 $2