aboutsummaryrefslogtreecommitdiff
path: root/cmd/fscrypt
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/fscrypt')
-rw-r--r--cmd/fscrypt/errors.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/cmd/fscrypt/errors.go b/cmd/fscrypt/errors.go
index 1e9c39a..1ccf544 100644
--- a/cmd/fscrypt/errors.go
+++ b/cmd/fscrypt/errors.go
@@ -230,6 +230,10 @@ func getErrorSuggestions(err error) string {
if !util.IsKernelVersionAtLeast(4, 10) {
return "ubifs encryption requires kernel v4.10 or later."
}
+ case "ceph":
+ if !util.IsKernelVersionAtLeast(6, 6) {
+ return "CephFS encryption requires kernel v6.6 or later."
+ }
}
return ""
case *filesystem.ErrNoCreatePermission: