aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorandersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277>2003-02-28 06:29:27 +0000
committerandersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277>2003-02-28 06:29:27 +0000
commit72d56a76669c0ae4ba697baaf5529bd56877fd58 (patch)
treea1a96e86cc9df2096201d6db57a1f1e18d351795
parentaab4ba8d7c95bf24174828c6e3f71b1c2117deff (diff)
downloadbusybox-w32-72d56a76669c0ae4ba697baaf5529bd56877fd58.tar.gz
busybox-w32-72d56a76669c0ae4ba697baaf5529bd56877fd58.tar.bz2
busybox-w32-72d56a76669c0ae4ba697baaf5529bd56877fd58.zip
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 git-svn-id: svn://busybox.net/trunk/busybox@6648 69ca8d6d-28ef-0310-b511-8ec308f3f277
-rw-r--r--util-linux/mount.c4
1 files changed, 2 insertions, 2 deletions
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)
439 439
440 if (all && ( /* If we're mounting 'all' */ 440 if (all && ( /* If we're mounting 'all' */
441 (strstr(m->mnt_opts, "noauto")) || /* and the file system isn't noauto, */ 441 (strstr(m->mnt_opts, "noauto")) || /* and the file system isn't noauto, */
442 (strstr(m->mnt_type, "swap")) || /* and isn't swap or nfs, then mount it */ 442 (strstr(m->mnt_type, "swap")))) /* and isn't swap, then mount it */
443 (strstr(m->mnt_type, "nfs")))) { 443 {
444 continue; 444 continue;
445 } 445 }
446 446