Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Frameworks
Solid
Commits
6b0ae19f
Commit
6b0ae19f
authored
Apr 01, 2022
by
Ivan Čukić
👁
Committed by
Nate Graham
Apr 01, 2022
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
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/solid/devices/backends/fstab/fstabdevice.cpp
View file @
6b0ae19f
...
...
@@ -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
;
}
}
...
...
src/solid/devices/backends/fstab/fstabhandling.cpp
View file @
6b0ae19f
...
...
@@ -116,6 +116,7 @@ bool _k_isFstabSupportedLocalFileSystem(const QString &fstype)
{
if
(
fstype
==
"fuse.encfs"
//
||
fstype
==
"fuse.cryfs"
//
||
fstype
==
"fuse.gocryptfs"
//
||
fstype
==
"overlay"
)
{
return
true
;
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment