Commit f519cbd0 authored by Mike Hibler's avatar Mike Hibler
Browse files

Add nolock option to nfs mounts.

parent b3fd8642
...@@ -84,7 +84,7 @@ $EGREP = "/bin/egrep -q"; ...@@ -84,7 +84,7 @@ $EGREP = "/bin/egrep -q";
# Note that we try multiple versions in os_nfsmount below; this is for legacy # Note that we try multiple versions in os_nfsmount below; this is for legacy
# code, or code where the mount is best done in the caller itself... or code # code, or code where the mount is best done in the caller itself... or code
# I didn't want to convert! # I didn't want to convert!
$NFSMOUNT = "/bin/mount -o udp"; $NFSMOUNT = "/bin/mount -o nolock,udp";
$LOOPBACKMOUNT = "/bin/mount -n -o bind "; $LOOPBACKMOUNT = "/bin/mount -n -o bind ";
$UMOUNT = "/bin/umount"; $UMOUNT = "/bin/umount";
$TMPASSWD = "$ETCDIR/passwd"; $TMPASSWD = "$ETCDIR/passwd";
...@@ -2261,7 +2261,7 @@ sub os_get_partition_info($$) ...@@ -2261,7 +2261,7 @@ sub os_get_partition_info($$)
sub os_nfsmount($$) sub os_nfsmount($$)
{ {
my ($remote,$local) = @_; my ($remote,$local) = @_;
my $opts = "udp"; my $opts = "nolock,udp";
# XXX doesn't work without this # XXX doesn't work without this
if (INXENVM()) { if (INXENVM()) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment