mirror of
https://github.com/sheumann/hush.git
synced 2024-11-05 21:04:56 +00:00
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:
parent
a0ac4523b1
commit
5ef448285b
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user