mirror of
https://github.com/webmin/webmin.git
synced 2026-02-03 06:03:28 +00:00
Add support for the nofail filesystem option on Linux https://github.com/webmin/webmin/issues/1012
This commit is contained in:
8
mount/help/linux_nofail.html
Normal file
8
mount/help/linux_nofail.html
Normal file
@@ -0,0 +1,8 @@
|
||||
<header>Continue boot even if mount fails?</header>
|
||||
|
||||
By default, any filesystem that fails to mount at boot time will interrupt
|
||||
the boot process. Changing this option to <b>Yes</b> will allow bootup to
|
||||
continue, as long as it's no the root filesystem. <p>
|
||||
|
||||
<footer>
|
||||
|
||||
@@ -368,6 +368,7 @@ linux_noenforce=Yes, but don't enforce
|
||||
linux_df=Include reserved blocks in filesystem size?
|
||||
linux_noatime=Avoid updating last access times?
|
||||
linux_netdev=Wait until network interfaces are up?
|
||||
linux_nofail=Continue boot even if mount fails?
|
||||
linux_ecname=Missing or invalid client netbios name
|
||||
linux_emname=Missing or invalid server hostname or IP address
|
||||
linux_bind=Original Directory
|
||||
|
||||
@@ -1205,6 +1205,9 @@ if ($type ne "swap" && $type ne "auto" &&
|
||||
|
||||
print &ui_table_row(&hlink($text{'linux_netdev'}, "linux_netdev"),
|
||||
&ui_yesno_radio("lnx_netdev", defined($options{"_netdev"})));
|
||||
|
||||
print &ui_table_row(&hlink($text{'linux_nofail'}, "linux_nofail"),
|
||||
&ui_yesno_radio("lnx_nofail", defined($options{"nofail"})));
|
||||
}
|
||||
|
||||
if ($type =~ /^ext\d+$/) {
|
||||
@@ -1810,6 +1813,9 @@ if ($_[0] ne "swap" && $_[0] ne "auto" &&
|
||||
|
||||
delete($options{"_netdev"});
|
||||
$options{"_netdev"} = "" if ($in{'lnx_netdev'});
|
||||
|
||||
delete($options{"nofail"});
|
||||
$options{"nofail"} = "" if ($in{'lnx_nofail'});
|
||||
}
|
||||
|
||||
if (($_[0] eq "nfs") || ($_[0] eq "nfs4")) {
|
||||
|
||||
Reference in New Issue
Block a user