diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2001-03-23 17:19:01 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2001-03-23 17:19:01 +0000 |
commit | a2658d55bf1a3c887ae624fdb6a35ec81ee94ccd (patch) | |
tree | 41d664e657726353c9afefec7172832bb76df987 | |
parent | 1ccb1205a65a05cc7501544019bcca752b6d5b64 (diff) | |
download | drakx-a2658d55bf1a3c887ae624fdb6a35ec81ee94ccd.tar drakx-a2658d55bf1a3c887ae624fdb6a35ec81ee94ccd.tar.gz drakx-a2658d55bf1a3c887ae624fdb6a35ec81ee94ccd.tar.bz2 drakx-a2658d55bf1a3c887ae624fdb6a35ec81ee94ccd.tar.xz drakx-a2658d55bf1a3c887ae624fdb6a35ec81ee94ccd.zip |
(change_type): When changing a partition type from ext2fs to Linux RAID
(or LVM), the mount point should be removed.
-rw-r--r-- | perl-install/fsedit.pm | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/perl-install/fsedit.pm b/perl-install/fsedit.pm index 5cde8036c..0cad90d51 100644 --- a/perl-install/fsedit.pm +++ b/perl-install/fsedit.pm @@ -408,6 +408,7 @@ sub change_type($$$) { $type != $part->{type} or return; $hd->{isDirty} = 1; $part->{mntpoint} = '' if isSwap($part) && $part->{mntpoint} eq "swap"; + $part->{mntpoint} = '' if isLVM({ type => $type }) || isRAID({ type => $type }); $part->{type} = $type; $part->{notFormatted} = 1; $part->{isFormatted} = 0; |