summaryrefslogtreecommitdiffstats
path: root/tdecore
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-04-26 13:04:01 -0500
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-04-26 13:04:01 -0500
commit58909d1f8c7f3c31dc7371edd2638311fa6034f9 (patch)
tree21bde7e24d46cfcc2b24982dac1863f882a37735 /tdecore
parentbf8c2f287f571c07d9f3c8a451d39abce1be5207 (diff)
downloadtdelibs-58909d1f8c7f3c31dc7371edd2638311fa6034f9.tar.gz
tdelibs-58909d1f8c7f3c31dc7371edd2638311fa6034f9.zip
Detect tape devices
Diffstat (limited to 'tdecore')
-rw-r--r--tdecore/tdehardwaredevices.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/tdecore/tdehardwaredevices.cpp b/tdecore/tdehardwaredevices.cpp
index 18878a1bd..9a4bb0ccb 100644
--- a/tdecore/tdehardwaredevices.cpp
+++ b/tdecore/tdehardwaredevices.cpp
@@ -2935,7 +2935,8 @@ TDEGenericDevice* TDEHardwareDevices::classifyUnknownDevice(udev_device* dev, TD
if (((devicetype == "disk")
|| (devicetype == "partition")
|| (devicedriver == "floppy")
- || (devicesubsystem == "scsi_disk"))
+ || (devicesubsystem == "scsi_disk")
+ || (devicesubsystem == "scsi_tape"))
&& ((devicenode != "")
)) {
if (!device) device = new TDEStorageDevice(TDEGenericDeviceType::Disk);