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
This commit is contained in:
David du Colombier 2012-08-05 19:17:18 +02:00
parent fee1a4639b
commit e31375ac4e
2 changed files with 3 additions and 3 deletions

View file

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