summaryrefslogtreecommitdiffstats
path: root/support
diff options
context:
space:
mode:
authorNeilBrown <neilb@suse.com>2016-03-16 11:01:18 -0400
committerSteve Dickson <steved@redhat.com>2016-03-16 12:21:55 -0400
commit3904d8102cbc76b26feccd573cb475fbf346c977 (patch)
tree35584d5bf72b0e29d9e84775d1e5e975ef1dd2a8 /support
parent1412314d3d4f096144f5293724f5c894dbfabb06 (diff)
downloadnfs-utils-3904d8102cbc76b26feccd573cb475fbf346c977.tar.gz
nfs-utils-3904d8102cbc76b26feccd573cb475fbf346c977.tar.xz
nfs-utils-3904d8102cbc76b26feccd573cb475fbf346c977.zip
mount.nfs - hide EBUSY errors
Linux only returns EBUSY for a non-remount mount if the exact requested filesystem is already mounted. Arguably this is not an error. "mount -a" tries to see if each requested filesystem is already mounted. Sometimes it gets it wrong - e.g. hostname aliases can confuse it. So "mount -a" will report a failure "already mounted", which is wrong because it should filter those out. An easy fix it just to be silent about EBUSY. As the requested result (a given filesystem being mounted at a given location) is in effect after the EBUSY return, we can just treat it as success. This removes the confusing "already mounted" errors. Signed-off-by: NeilBrown <neilb@suse.com> Signed-off-by: Steve Dickson <steved@redhat.com>
Diffstat (limited to 'support')
0 files changed, 0 insertions, 0 deletions