commit 23b8abcc9e7681a9df2560c4535f982591764b6f
parent 2fb736b2e153edbcff99ecaede8ab26919dde3d6
Author: Russ Cox <rsc@swtch.com>
Date: Wed, 9 Jul 2008 14:36:12 -0400
vmount: add -t nfs on Linux
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/bin/vmount b/bin/vmount
@@ -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