summaryrefslogtreecommitdiffstats
path: root/perl-install/fs/mount_options.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2005-02-07 09:10:43 +0000
committerPascal Rigaux <pixel@mandriva.com>2005-02-07 09:10:43 +0000
commitae98ee4119b7576c7da99a0e0d00a48e4a2d2b66 (patch)
tree533b6c82eaf96ce0e9047dc25b37c02ba0dfa1e6 /perl-install/fs/mount_options.pm
parent1dbf2fc9d6fc77fdea3314fc92bb1592447b2511 (diff)
downloaddrakx-backup-do-not-use-ae98ee4119b7576c7da99a0e0d00a48e4a2d2b66.tar
drakx-backup-do-not-use-ae98ee4119b7576c7da99a0e0d00a48e4a2d2b66.tar.gz
drakx-backup-do-not-use-ae98ee4119b7576c7da99a0e0d00a48e4a2d2b66.tar.bz2
drakx-backup-do-not-use-ae98ee4119b7576c7da99a0e0d00a48e4a2d2b66.tar.xz
drakx-backup-do-not-use-ae98ee4119b7576c7da99a0e0d00a48e4a2d2b66.zip
ensure some options are not set for directories_needed_to_boot (bugzilla #13433)
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);
}