Detect tape devices

pull/16/head
Timothy Pearson 13 years ago
parent bf8c2f287f
commit 58909d1f8c

@ -2935,7 +2935,8 @@ TDEGenericDevice* TDEHardwareDevices::classifyUnknownDevice(udev_device* dev, TD
if (((devicetype == "disk") if (((devicetype == "disk")
|| (devicetype == "partition") || (devicetype == "partition")
|| (devicedriver == "floppy") || (devicedriver == "floppy")
|| (devicesubsystem == "scsi_disk")) || (devicesubsystem == "scsi_disk")
|| (devicesubsystem == "scsi_tape"))
&& ((devicenode != "") && ((devicenode != "")
)) { )) {
if (!device) device = new TDEStorageDevice(TDEGenericDeviceType::Disk); if (!device) device = new TDEStorageDevice(TDEGenericDeviceType::Disk);

Loading…
Cancel
Save