Commit 6b0ae19f authored by Ivan Čukić's avatar Ivan Čukić 👁 Committed by Nate Graham
Browse files

Recognize fuse.gocryptfs mounts as devices like we do for cryfs and encfs

BUG: 452070
FIXED-IN: 5.93
parent d95067c3
Pipeline #157999 failed with stage
in 2 minutes and 31 seconds
......@@ -40,7 +40,7 @@ FstabDevice::FstabDevice(QString uid)
if (m_product.startsWith(home)) {
m_product = "~" + m_product.mid(home.length());
}
if ((fstype == QLatin1String("fuse.encfs")) || (fstype == QLatin1String("fuse.cryfs"))) {
if ((fstype == QLatin1String("fuse.encfs")) || (fstype == QLatin1String("fuse.cryfs")) || (fstype == QLatin1String("fuse.gocryptfs"))) {
m_storageType = StorageType::Encrypted;
}
}
......
......@@ -116,6 +116,7 @@ bool _k_isFstabSupportedLocalFileSystem(const QString &fstype)
{
if (fstype == "fuse.encfs" //
|| fstype == "fuse.cryfs" //
|| fstype == "fuse.gocryptfs" //
|| fstype == "overlay") {
return true;
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment