From: Eric Andersen Date: Fri, 28 Feb 2003 06:29:27 +0000 (-0000) Subject: There is no good reason to prevent nfs mounts from being mounted X-Git-Tag: 1_00_pre1~181 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=5ef448285b6e5b27ca2ac83defa6c1adec13bab6;p=oweals%2Fbusybox.git There is no good reason to prevent nfs mounts from being mounted during 'mount -a'. If the user wants to do that, hey, its their lifs. If the nfs server is down and they don't want to wait for nfs to time out, that is their problem. -Erik --- diff --git a/util-linux/mount.c b/util-linux/mount.c index 32d0dd5b9..b3e945ce3 100644 --- a/util-linux/mount.c +++ b/util-linux/mount.c @@ -439,8 +439,8 @@ extern int mount_main(int argc, char **argv) if (all && ( /* If we're mounting 'all' */ (strstr(m->mnt_opts, "noauto")) || /* and the file system isn't noauto, */ - (strstr(m->mnt_type, "swap")) || /* and isn't swap or nfs, then mount it */ - (strstr(m->mnt_type, "nfs")))) { + (strstr(m->mnt_type, "swap")))) /* and isn't swap, then mount it */ + { continue; }