Set hotpluggable flag for flash disks instead of removable

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
pull/1/head
Slávek Banko 9 years ago
parent dc350e6c64
commit f8fbb3bd78

@ -2718,7 +2718,7 @@ void TDEHardwareDevices::updateExistingDeviceInformation(TDEGenericDevice* exist
|| (disktype & TDEDiskDeviceType::SDMMC))
&& !(diskstatus & TDEDiskDeviceStatus::Removable)
&& !(diskstatus & TDEDiskDeviceStatus::Hotpluggable)) {
diskstatus = diskstatus | TDEDiskDeviceStatus::Removable;
diskstatus = diskstatus | TDEDiskDeviceStatus::Hotpluggable;
}
if ((filesystemtype.upper() != "CRYPTO_LUKS") && (filesystemtype.upper() != "CRYPTO") && (filesystemtype.upper() != "SWAP") && (!filesystemtype.isNull())) {

Loading…
Cancel
Save