vmount: add -t nfs on Linux

This commit is contained in:
Russ Cox 2008-07-09 14:36:12 -04:00
parent 2fb736b2e1
commit 23b8abcc9e

View file

@ -10,7 +10,7 @@ mtpt=$2
switch(`{uname}){ switch(`{uname}){
case Linux 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 $server:/dump $mtpt
case * case *
exec vmount0 -h 00 $server $mtpt exec vmount0 -h 00 $server $mtpt