|
|
@ -154,6 +154,12 @@ 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 {
|
|
|
|
else {
|
|
|
|
// Create medium
|
|
|
|
// Create medium
|
|
|
|
Medium* medium = new Medium(sdevice->uniqueID(), driveUDIFromDeviceUID(sdevice->uniqueID()), "");
|
|
|
|
Medium* medium = new Medium(sdevice->uniqueID(), driveUDIFromDeviceUID(sdevice->uniqueID()), "");
|
|
|
|