diff options
Diffstat (limited to 'internal/syscallcompat')
-rw-r--r-- | internal/syscallcompat/quirks.go | 2 | ||||
-rw-r--r-- | internal/syscallcompat/quirks_linux.go | 4 |
2 files changed, 6 insertions, 0 deletions
diff --git a/internal/syscallcompat/quirks.go b/internal/syscallcompat/quirks.go index 110c00d..858f16d 100644 --- a/internal/syscallcompat/quirks.go +++ b/internal/syscallcompat/quirks.go @@ -13,6 +13,8 @@ const ( // On MacOS ExFAT, all empty files share inode number 1: // https://github.com/rfjakob/gocryptfs/issues/585 QuirkDuplicateIno1 + // QuirkNoUserXattr means that user.* xattrs are not supported + QuirkNoUserXattr ) func logQuirk(s string) { 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 } |