diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2008-01-22 11:10:06 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2008-01-22 11:10:06 +0000 |
commit | ebfa88d7e72cfc3185809b40f2ce38f891672a88 (patch) | |
tree | edc7e1a480e6cea27860d0845addd07ae466429a | |
parent | 16229aba0dc2cbbc6e9e7e5f9f9dd874779f3442 (diff) | |
download | drakx-backup-do-not-use-ebfa88d7e72cfc3185809b40f2ce38f891672a88.tar drakx-backup-do-not-use-ebfa88d7e72cfc3185809b40f2ce38f891672a88.tar.gz drakx-backup-do-not-use-ebfa88d7e72cfc3185809b40f2ce38f891672a88.tar.bz2 drakx-backup-do-not-use-ebfa88d7e72cfc3185809b40f2ce38f891672a88.tar.xz drakx-backup-do-not-use-ebfa88d7e72cfc3185809b40f2ce38f891672a88.zip |
handle missing mbr_signature in /sys/firmware/edd/int13_dev*
-rw-r--r-- | perl-install/partition_table/raw.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/partition_table/raw.pm b/perl-install/partition_table/raw.pm index c3bc9dcce..06bdf8378 100644 --- a/perl-install/partition_table/raw.pm +++ b/perl-install/partition_table/raw.pm @@ -142,7 +142,7 @@ sub get_geometries { } @hds); - my %id2edd = keep_non_duplicates(map { [ chomp_(cat_("$_/mbr_signature")), $_ ] } glob("/sys/firmware/edd/int13_dev*")); + my %id2edd = keep_non_duplicates(map { [ chomp_(scalar cat_("$_/mbr_signature")), $_ ] } glob("/sys/firmware/edd/int13_dev*")); log::l("id2hd: " . join(' ', map_each { "$::a=>$::b->{device}" } %id2hd)); log::l("id2edd: " . join(' ', map_each { "$::a=>$::b" } %id2edd)); |