diff options
author | Thierry Vignaud <tvignaud@mandriva.org> | 2002-07-04 08:15:12 +0000 |
---|---|---|
committer | Thierry Vignaud <tvignaud@mandriva.org> | 2002-07-04 08:15:12 +0000 |
commit | 73dc8e20ece54530280c3fe8d5ec7a720fbc71e9 (patch) | |
tree | 58596528490a6018afc2637af04092a65925cc1a | |
parent | 1cdb4f411c123a1f7402c9efbe46b3b05c3d94a1 (diff) | |
download | drakx-73dc8e20ece54530280c3fe8d5ec7a720fbc71e9.tar drakx-73dc8e20ece54530280c3fe8d5ec7a720fbc71e9.tar.gz drakx-73dc8e20ece54530280c3fe8d5ec7a720fbc71e9.tar.bz2 drakx-73dc8e20ece54530280c3fe8d5ec7a720fbc71e9.tar.xz drakx-73dc8e20ece54530280c3fe8d5ec7a720fbc71e9.zip |
add tapes() for harddrake2
-rw-r--r-- | perl-install/detect_devices.pm | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/perl-install/detect_devices.pm b/perl-install/detect_devices.pm index b9b967adb..e9d13ea63 100644 --- a/perl-install/detect_devices.pm +++ b/perl-install/detect_devices.pm @@ -35,6 +35,7 @@ sub get { getIDE(), getSCSI(), getDAC960(), getCompaqSmartArray(), getATARAID(); } sub hds { grep { $_->{media_type} eq 'hd' && ($::isStandalone || !isRemovableDrive($_)) } get() } +sub tapes { grep { $_->{media_type} eq 'tape' && ($::isStandalone || !isRemovableDrive($_)) } get() } sub cdroms { grep { $_->{media_type} eq 'cdrom' } get() } sub burners { grep { isBurner($_) } cdroms() } sub dvdroms { grep { isDvdDrive($_) } cdroms() } |