summaryrefslogtreecommitdiffstats
path: root/perl-install/fsedit.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2008-03-06 12:51:19 +0000
committerPascal Rigaux <pixel@mandriva.com>2008-03-06 12:51:19 +0000
commit5c2dacabb3f62574c0d936a118b688de8a5a1f6d (patch)
tree84641be7f59fc1068b20629c6ee7237f283438ee /perl-install/fsedit.pm
parentf8c581d20a0d50165bae7edbc2548afae68deb40 (diff)
downloaddrakx-5c2dacabb3f62574c0d936a118b688de8a5a1f6d.tar
drakx-5c2dacabb3f62574c0d936a118b688de8a5a1f6d.tar.gz
drakx-5c2dacabb3f62574c0d936a118b688de8a5a1f6d.tar.bz2
drakx-5c2dacabb3f62574c0d936a118b688de8a5a1f6d.tar.xz
drakx-5c2dacabb3f62574c0d936a118b688de8a5a1f6d.zip
- fix partition device name for some dmraid (missing "p", cf #38363)
simplifying code, since using "p" to separate device name from partition number when device name ends with a digit is standard in the kernel $hd->{prefix} is no more always created. Only used in same special cases
Diffstat (limited to 'perl-install/fsedit.pm')
-rw-r--r--perl-install/fsedit.pm1
1 files changed, 0 insertions, 1 deletions
diff --git a/perl-install/fsedit.pm b/perl-install/fsedit.pm
index 5c82a2429..2e8f05b2c 100644
--- a/perl-install/fsedit.pm
+++ b/perl-install/fsedit.pm
@@ -143,7 +143,6 @@ sub get_hds {
foreach my $hd (@drives) {
$hd->{file} = devices::make($hd->{device});
- $hd->{prefix} ||= $hd->{device};
}
@drives = partition_table::raw::get_geometries(@drives);