diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2008-09-18 14:21:00 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2008-09-18 14:21:00 +0000 |
commit | 3d3edeb0186cc696d1749b4e61304cfd7b958bfb (patch) | |
tree | 3763d180e430c660c2e1e1060fe72cddce76402c /perl-install/fsedit.pm | |
parent | dfd77a5ef5d5443794045fbb24357edcb40202b2 (diff) | |
download | drakx-3d3edeb0186cc696d1749b4e61304cfd7b958bfb.tar drakx-3d3edeb0186cc696d1749b4e61304cfd7b958bfb.tar.gz drakx-3d3edeb0186cc696d1749b4e61304cfd7b958bfb.tar.bz2 drakx-3d3edeb0186cc696d1749b4e61304cfd7b958bfb.tar.xz drakx-3d3edeb0186cc696d1749b4e61304cfd7b958bfb.zip |
- create cannotBeMountable() out of isNonMountable()
- use it
Diffstat (limited to 'perl-install/fsedit.pm')
-rw-r--r-- | perl-install/fsedit.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/fsedit.pm b/perl-install/fsedit.pm index 95e5937c1..cd0292c69 100644 --- a/perl-install/fsedit.pm +++ b/perl-install/fsedit.pm @@ -550,7 +550,7 @@ sub change_type { delete $part->{device_UUID}; $hd->{isDirty} = 1; $part->{mntpoint} = '' if isSwap($part) && $part->{mntpoint} eq "swap"; - $part->{mntpoint} = '' if isRawLVM($type) || isRawRAID($type); + $part->{mntpoint} = '' if fs::type::cannotBeMountable($part); set_isFormatted($part, 0); fs::type::set_type_subpart($part, $type); fs::mount_options::rationalize($part); |