summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2008-09-18 14:21:56 +0000
committerPascal Rigaux <pixel@mandriva.com>2008-09-18 14:21:56 +0000
commitaa794b610d6dca1907f89fba45177da9143ba71b (patch)
treecfa1cc0cb4bc6d57caca0253f5767b1ffc0940be /perl-install
parent3d3edeb0186cc696d1749b4e61304cfd7b958bfb (diff)
downloaddrakx-aa794b610d6dca1907f89fba45177da9143ba71b.tar
drakx-aa794b610d6dca1907f89fba45177da9143ba71b.tar.gz
drakx-aa794b610d6dca1907f89fba45177da9143ba71b.tar.bz2
drakx-aa794b610d6dca1907f89fba45177da9143ba71b.tar.xz
drakx-aa794b610d6dca1907f89fba45177da9143ba71b.zip
ensure a newly created partition has {major} and {minor}
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/fsedit.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/perl-install/fsedit.pm b/perl-install/fsedit.pm
index cd0292c69..81564bb1b 100644
--- a/perl-install/fsedit.pm
+++ b/perl-install/fsedit.pm
@@ -441,6 +441,7 @@ sub add {
} else {
partition_table::add($hd, $part, $options->{primaryOrExtended});
}
+ fs::get_major_minor([ $part ]);
}
sub allocatePartitions {