aboutsummaryrefslogtreecommitdiff
path: root/internal/syscallcompat/quirks_linux.go
diff options
context:
space:
mode:
authorJakob Unterwurzacher2022-01-27 15:44:09 +0100
committerJakob Unterwurzacher2022-01-27 15:44:09 +0100
commitba75aa1ab0dcef8ad8c8fbb11e8895413ad26787 (patch)
treea64b15a0b69bbecf4900a4ae0fc77fac303a4f10 /internal/syscallcompat/quirks_linux.go
parentb636f79f8981f2b782a26dbf074ed457157d8413 (diff)
root_test: add TestOverlay ; syscallcompat: add QuirkNoUserXattr
Diffstat (limited to 'internal/syscallcompat/quirks_linux.go')
-rw-r--r--internal/syscallcompat/quirks_linux.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/internal/syscallcompat/quirks_linux.go b/internal/syscallcompat/quirks_linux.go
index bcdcf07..5ef2d8a 100644
--- a/internal/syscallcompat/quirks_linux.go
+++ b/internal/syscallcompat/quirks_linux.go
@@ -27,5 +27,9 @@ func DetectQuirks(cipherdir string) (q uint64) {
q |= QuirkBrokenFalloc
}
+ if uint32(st.Type) == unix.TMPFS_MAGIC {
+ logQuirk("tmpfs detected, no extended attributes except acls will work.")
+ }
+
return q
}