vmount: add -t nfs on Linux
This commit is contained in:
parent
2fb736b2e1
commit
23b8abcc9e
@ -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
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user