From ae98ee4119b7576c7da99a0e0d00a48e4a2d2b66 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Mon, 7 Feb 2005 09:10:43 +0000 Subject: ensure some options are not set for directories_needed_to_boot (bugzilla #13433) --- perl-install/fs/mount_options.pm | 3 +++ 1 file changed, 3 insertions(+) (limited to 'perl-install') 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); } -- cgit v1.2.1