summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2004-08-02 08:13:51 +0000
committerPascal Rigaux <pixel@mandriva.com>2004-08-02 08:13:51 +0000
commitd8a5f7002397d306bc6fc371ef3d9a7ba282c3f2 (patch)
tree6a183a4e483ae03906a4d7daf1a2d4cf33af9c8c
parent4754dfeb3a7869aac8cc21e5049fddb010cc0ecc (diff)
downloaddrakx-d8a5f7002397d306bc6fc371ef3d9a7ba282c3f2.tar
drakx-d8a5f7002397d306bc6fc371ef3d9a7ba282c3f2.tar.gz
drakx-d8a5f7002397d306bc6fc371ef3d9a7ba282c3f2.tar.bz2
drakx-d8a5f7002397d306bc6fc371ef3d9a7ba282c3f2.tar.xz
drakx-d8a5f7002397d306bc6fc371ef3d9a7ba282c3f2.zip
don't use supermount for {is_removable} devices when used for a boot time partition (like /usr and /)
-rw-r--r--perl-install/fs.pm2
1 files changed, 1 insertions, 1 deletions
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';