tvmount: add -t nfs on Linux - plan9port - [fork] Plan 9 from user space
HTML git clone git://src.adamsgaard.dk/plan9port
DIR Log
DIR Files
DIR Refs
DIR README
DIR LICENSE
---
DIR commit 23b8abcc9e7681a9df2560c4535f982591764b6f
DIR parent 2fb736b2e153edbcff99ecaede8ab26919dde3d6
HTML Author: Russ Cox <rsc@swtch.com>
Date: Wed, 9 Jul 2008 14:36:12 -0400
vmount: add -t nfs on Linux
Diffstat:
M bin/vmount | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
DIR diff --git a/bin/vmount b/bin/vmount
t@@ -10,7 +10,7 @@ mtpt=$2
switch(`{uname}){
case Linux
- exec mount -o 'ro,timeo=100,rsize=8192,retrans=5,port=2049,mountport=2049,mountvers=3,nfsvers=3,nolock,soft,intr,udp' \
+ exec mount -t nfs -o 'ro,timeo=100,rsize=8192,retrans=5,port=2049,mountport=2049,mountvers=3,nfsvers=3,nolock,soft,intr,udp' \
$server:/dump $mtpt
case *
exec vmount0 -h 00 $server $mtpt