Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
emulab
emulab-devel
Commits
f519cbd0
Commit
f519cbd0
authored
Nov 19, 2012
by
Mike Hibler
Browse files
Add nolock option to nfs mounts.
parent
b3fd8642
Changes
1
Hide whitespace changes
Inline
Side-by-side
clientside/tmcc/linux/liblocsetup.pm
View file @
f519cbd0
...
...
@@ -84,7 +84,7 @@ $EGREP = "/bin/egrep -q";
# 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
# I didn't want to convert!
$NFSMOUNT
=
"
/bin/mount -o udp
";
$NFSMOUNT
=
"
/bin/mount -o
nolock,
udp
";
$LOOPBACKMOUNT
=
"
/bin/mount -n -o bind
";
$UMOUNT
=
"
/bin/umount
";
$TMPASSWD
=
"
$ETCDIR
/passwd
";
...
...
@@ -2261,7 +2261,7 @@ sub os_get_partition_info($$)
sub
os_nfsmount
($$)
{
my
(
$remote
,
$local
)
=
@_
;
my
$opts
=
"
udp
";
my
$opts
=
"
nolock,
udp
";
# XXX doesn't work without this
if
(
INXENVM
())
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment