summaryrefslogtreecommitdiffstats
path: root/perl-install/fs.pm
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 /perl-install/fs.pm
parent4754dfeb3a7869aac8cc21e5049fddb010cc0ecc (diff)
downloaddrakx-backup-do-not-use-d8a5f7002397d306bc6fc371ef3d9a7ba282c3f2.tar
drakx-backup-do-not-use-d8a5f7002397d306bc6fc371ef3d9a7ba282c3f2.tar.gz
drakx-backup-do-not-use-d8a5f7002397d306bc6fc371ef3d9a7ba282c3f2.tar.bz2
drakx-backup-do-not-use-d8a5f7002397d306bc6fc371ef3d9a7ba282c3f2.tar.xz
drakx-backup-do-not-use-d8a5f7002397d306bc6fc371ef3d9a7ba282c3f2.zip
don't use supermount for {is_removable} devices when used for a boot time partition (like /usr and /)
Diffstat (limited to 'perl-install/fs.pm')
-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';