diff options
author | Timothy Pearson <[email protected]> | 2012-04-26 13:04:01 -0500 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2012-04-26 13:04:01 -0500 |
commit | 58909d1f8c7f3c31dc7371edd2638311fa6034f9 (patch) | |
tree | 21bde7e24d46cfcc2b24982dac1863f882a37735 /tdecore/tdehardwaredevices.cpp | |
parent | bf8c2f287f571c07d9f3c8a451d39abce1be5207 (diff) | |
download | tdelibs-58909d1f8c7f3c31dc7371edd2638311fa6034f9.tar.gz tdelibs-58909d1f8c7f3c31dc7371edd2638311fa6034f9.zip |
Detect tape devices
Diffstat (limited to 'tdecore/tdehardwaredevices.cpp')
-rw-r--r-- | tdecore/tdehardwaredevices.cpp | 3 |
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); |