Open enkore opened 7 years ago
update from #5830: PAX format support is now basically present, SCHILY-style xattrs/ACLs support still todo.
Borg contributors could help with this, implementing this does not need too much knowledge of borg internals.
How this could be improved:
import-tar
(search for "PAX" in the borg source)GNU tar c -> borg import-tar -> borg extract
export-tar
GNU tar c -> borg import-tar -> borg export-tar -> GNU tar x
tar
elsewhere in the tests)
PAX/POSIX format basically means one gets to put arbitrary key/value parts into file metadata in a backwards-compatible fashion.
GNU tar supports a proprietary extension for xattrs, apparently invented by Jörg Schilling: Just put them into the
SCHILY.xattr.<xattr>
key. (Source: GNU tar 1.29 source, file src/xheader.c, xhdr_tab)https://www.gnu.org/software/tar/manual/html_node/Extended-File-Attributes.html