summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone/harddrake2
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2004-06-20 23:23:23 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2004-06-20 23:23:23 +0000
commit36dcb5f4e0621ab907a3db207a220af0aee50657 (patch)
treef5dcb0fc561563e454d54e90a6c78f40acdd32e3 /perl-install/standalone/harddrake2
parentf1e88c046c636fbb48fed5ed772080b5381e1f0c (diff)
downloaddrakx-backup-do-not-use-36dcb5f4e0621ab907a3db207a220af0aee50657.tar
drakx-backup-do-not-use-36dcb5f4e0621ab907a3db207a220af0aee50657.tar.gz
drakx-backup-do-not-use-36dcb5f4e0621ab907a3db207a220af0aee50657.tar.bz2
drakx-backup-do-not-use-36dcb5f4e0621ab907a3db207a220af0aee50657.tar.xz
drakx-backup-do-not-use-36dcb5f4e0621ab907a3db207a220af0aee50657.zip
show splited vendor and description fields for USB hard disks too
Diffstat (limited to 'perl-install/standalone/harddrake2')
-rwxr-xr-xperl-install/standalone/harddrake22
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/standalone/harddrake2 b/perl-install/standalone/harddrake2
index fb88b46ec..cb7698ee1 100755
--- a/perl-install/standalone/harddrake2
+++ b/perl-install/standalone/harddrake2
@@ -354,6 +354,7 @@ foreach (@classes) {
# do not display unknown driver for system bridges that're managed by kernel core:
delete $_->{driver} if $_->{driver} eq "unknown" && ($Ident =~ /^ATA_STORAGE|BRIDGE|SMB_CONTROLLER$/ || $_->{description} =~ /3Com.*5610/);
}
+ rename_field($_, 'usb_description', 'description');
# split description into manufacturer/description
($_->{Vendor}, $_->{description}) = split(/\|/, $_->{description}) if $_->{description};
@@ -391,7 +392,6 @@ foreach (@classes) {
delete $hd->{extended_partitions} if $hd->{extended_partitions} eq '0';
}
rename_field($_, 'usb_bus', 'bus');
- rename_field($_, 'usb_description', 'description');
rename_field($_, 'usb_driver', 'driver');
rename_field($_, 'usb_id', 'id');
rename_field($_, 'usb_media_type', 'media_type');