summaryrefslogtreecommitdiffstats
path: root/perl-install/diskdrake
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2003-02-18 13:05:37 +0000
committerPascal Rigaux <pixel@mandriva.com>2003-02-18 13:05:37 +0000
commitb8277bac0fae66c5cdb13d4b50af505aa4c16c18 (patch)
tree192bca4728cada850e0c51130f49c0a25249340f /perl-install/diskdrake
parent074fc4bfaa48a3d853d029a1b0326b9bb763813f (diff)
downloaddrakx-b8277bac0fae66c5cdb13d4b50af505aa4c16c18.tar
drakx-b8277bac0fae66c5cdb13d4b50af505aa4c16c18.tar.gz
drakx-b8277bac0fae66c5cdb13d4b50af505aa4c16c18.tar.bz2
drakx-b8277bac0fae66c5cdb13d4b50af505aa4c16c18.tar.xz
drakx-b8277bac0fae66c5cdb13d4b50af505aa4c16c18.zip
- ensure someone can't set a mount point on a non formatted ntfs partition
- remove the mount point when destructive resizing and isNonMountable
Diffstat (limited to 'perl-install/diskdrake')
-rw-r--r--perl-install/diskdrake/interactive.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/perl-install/diskdrake/interactive.pm b/perl-install/diskdrake/interactive.pm
index 95f0aa2bc..86772c108 100644
--- a/perl-install/diskdrake/interactive.pm
+++ b/perl-install/diskdrake/interactive.pm
@@ -739,6 +739,7 @@ sub Resize {
$part->{notFormatted} = 1;
$part->{isFormatted} = 0;
partition_table::verifyParts($hd);
+ $part->{mntpoint} = '' if isNonMountable($part); #- mainly for ntfs, which we can't format
}
$adjust->(0) if $size < $oldsize;