summaryrefslogtreecommitdiffstats
path: root/perl-install/detect_devices.pm
diff options
context:
space:
mode:
authorPascal Terjan <pterjan@mandriva.org>2009-08-28 16:18:32 +0000
committerPascal Terjan <pterjan@mandriva.org>2009-08-28 16:18:32 +0000
commitb9833774bba44cee406d512e82067a3a8d8e4292 (patch)
tree50da749e484a7b20c2ed75e7c61d0ae39b9e0ec7 /perl-install/detect_devices.pm
parent561d493b9e96f5853e013ab81a0dd86188b2182d (diff)
downloaddrakx-backup-do-not-use-b9833774bba44cee406d512e82067a3a8d8e4292.tar
drakx-backup-do-not-use-b9833774bba44cee406d512e82067a3a8d8e4292.tar.gz
drakx-backup-do-not-use-b9833774bba44cee406d512e82067a3a8d8e4292.tar.bz2
drakx-backup-do-not-use-b9833774bba44cee406d512e82067a3a8d8e4292.tar.xz
drakx-backup-do-not-use-b9833774bba44cee406d512e82067a3a8d8e4292.zip
fix VirtIO devices support and release 12.46
Diffstat (limited to 'perl-install/detect_devices.pm')
-rw-r--r--perl-install/detect_devices.pm3
1 files changed, 1 insertions, 2 deletions
diff --git a/perl-install/detect_devices.pm b/perl-install/detect_devices.pm
index 8df493152..6042b29e5 100644
--- a/perl-install/detect_devices.pm
+++ b/perl-install/detect_devices.pm
@@ -371,8 +371,7 @@ sub getATARAID() {
sub getVirtIO() {
-d '/sys/bus/virtio/devices' or return;
map {
- print basename($_)."\n";
- { device => "/dev/".basename($_), info => "VirtIO block device", media_type => 'hd', bus => 'virtio' }
+ { device => basename($_), info => "VirtIO block device", media_type => 'hd', bus => 'virtio' }
}
glob("/sys/bus/virtio/devices/*/block/*");
}