diff options
Diffstat (limited to 'libLumina/LuminaOS-Linux.cpp')
-rw-r--r-- | libLumina/LuminaOS-Linux.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libLumina/LuminaOS-Linux.cpp b/libLumina/LuminaOS-Linux.cpp index 7bb803bd..5939c9d1 100644 --- a/libLumina/LuminaOS-Linux.cpp +++ b/libLumina/LuminaOS-Linux.cpp @@ -37,7 +37,7 @@ QStringList LOS::ExternalDevicePaths(){ QString type = devs[i].section(" ",0,0); type.remove("/dev/"); //Determine the type of hardware device based on the dev node - if(type.startsWith("sd") || type.startsWith("nvme"){ type = "HDRIVE"; } + if(type.startsWith("sd") || type.startsWith("nvme")){ type = "HDRIVE"; } else if(type.startsWith("sr")){ type="DVD"; } else if(type.contains("mapper")){ type="LVM"; } else{ type = "UNKNOWN"; } |