summaryrefslogtreecommitdiffstats
path: root/perl-install/fs/mount_options.pm
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/fs/mount_options.pm')
-rw-r--r--perl-install/fs/mount_options.pm3
1 files changed, 3 insertions, 0 deletions
diff --git a/perl-install/fs/mount_options.pm b/perl-install/fs/mount_options.pm
index 77aef9aac..57ade611f 100644
--- a/perl-install/fs/mount_options.pm
+++ b/perl-install/fs/mount_options.pm
@@ -157,6 +157,9 @@ sub rationalize {
if (!fs::type::can_be_one_of_those_fs_types($part, 'vfat', 'smbfs', 'iso9660', 'udf')) {
delete $options->{'codepage='};
}
+ if (fs::type::directories_needed_to_boot()) {
+ $options->{$_} = 0 foreach qw(users user noauto supermount);
+ }
&pack($part, $options, $unknown);
}