From d8a5f7002397d306bc6fc371ef3d9a7ba282c3f2 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Mon, 2 Aug 2004 08:13:51 +0000 Subject: don't use supermount for {is_removable} devices when used for a boot time partition (like /usr and /) --- perl-install/fs.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'perl-install') diff --git a/perl-install/fs.pm b/perl-install/fs.pm index 4614d7d20..4e9312d4f 100644 --- a/perl-install/fs.pm +++ b/perl-install/fs.pm @@ -501,7 +501,7 @@ sub set_default_options { my ($options, $unknown) = mount_options_unpack($part); - if ($part->{is_removable}) { + if ($part->{is_removable} && !member($part->{mntpoint}, qw(/ /usr /var /boot))) { $options->{supermount} = $opts{useSupermount} && !($opts{useSupermount} eq 'magicdev' && $part->{media_type} eq 'cdrom'); $part->{fs_type} = !$options->{supermount} ? 'auto' : $part->{media_type} eq 'cdrom' ? 'udf:iso9660' : 'ext2:vfat'; -- cgit v1.2.1