From 58909d1f8c7f3c31dc7371edd2638311fa6034f9 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Thu, 26 Apr 2012 13:04:01 -0500 Subject: [PATCH] Detect tape devices --- tdecore/tdehardwaredevices.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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);