borgbackup/borg

xattr and ACL support for Solaris 11 and OpenIndiana

Open

#1337 opened on Jul 14, 2016

View on GitHub
 (0 comments) (2 reactions) (0 assignees)Python (10,086 stars) (732 forks)batch import
enhancementfilesystemhelp wantedos: other

Description

xattrs: Solaris 11 and OpenIndiana have the same API (O_XATTR):

Note that xattr/fsattr in sunos5 is far more powerful than on the other platforms. On sunos5 they are essentially file system namespace attached to every file. You can put any file type in there (e.g. sockets, block devices, link) and have arbitrarily complex directory structures. So it may make sense to map these into normal items (NUL as separator? - other platforms would not extract) and traverse them. Or, we could flatten them and only regard regular files (i.e. key-value pairs).

ACLs: APIs are also similar to each other (and our already implemented APIs)

Contributor guide