There is no good reason to prevent nfs mounts from being mounted
authorEric Andersen <andersen@codepoet.org>
Fri, 28 Feb 2003 06:29:27 +0000 (06:29 -0000)
committerEric Andersen <andersen@codepoet.org>
Fri, 28 Feb 2003 06:29:27 +0000 (06:29 -0000)
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

util-linux/mount.c

index 32d0dd5b95034475df1b3bb49193d91f94ef3c26..b3e945ce35a76c94dd82e3b4da94c4d3273aeb36 100644 (file)
@@ -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;
                        }