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
This commit is contained in:
Eric Andersen 2003-02-28 06:29:27 +00:00
parent a0ac4523b1
commit 5ef448285b

View File

@ -439,8 +439,8 @@ extern int mount_main(int argc, char **argv)
if (all && ( /* If we're mounting 'all' */ if (all && ( /* If we're mounting 'all' */
(strstr(m->mnt_opts, "noauto")) || /* and the file system isn't noauto, */ (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, "swap")))) /* and isn't swap, then mount it */
(strstr(m->mnt_type, "nfs")))) { {
continue; continue;
} }