summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tdeioslave/media/mediamanager/tdehardwarebackend.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/tdeioslave/media/mediamanager/tdehardwarebackend.cpp b/tdeioslave/media/mediamanager/tdehardwarebackend.cpp
index 8db7587..bd3a61a 100644
--- a/tdeioslave/media/mediamanager/tdehardwarebackend.cpp
+++ b/tdeioslave/media/mediamanager/tdehardwarebackend.cpp
@@ -171,7 +171,8 @@ void TDEBackend::AddDevice(TDEStorageDevice * sdevice, bool allowNotification)
/* We also don't display devices that underlie other devices;
* e.g. the raw partition of a device mapper volume
*/
- else if (sdevice->checkDiskStatus(TDEDiskDeviceStatus::UsedByDevice)) {
+ else if (sdevice->checkDiskStatus(TDEDiskDeviceStatus::UsedByDevice)
+ || (sdevice->fileSystemUsage().upper() == "RAID")) {
//
}
else {