Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for xattrs, in TAR archives? #145

Open
vmlemon opened this issue Dec 27, 2024 · 2 comments
Open

Support for xattrs, in TAR archives? #145

vmlemon opened this issue Dec 27, 2024 · 2 comments
Labels
enhancement New feature or request

Comments

@vmlemon
Copy link

vmlemon commented Dec 27, 2024

Thanks so much, for making ratarmount - it's solved a long-running need, in a really elegant manner. That said, are there any plans for supporting extended attributes, in TAR archives, since it'd make it easier, to work with files from Haiku, and MacOS, on Linux?

At least in the typical LIBARCHIVE/SCHILLY/BSDTAR-style format:

98 LIBARCHIVE.xattr.user.haiku.BEOS:TYPE#MIMS=YXBwbGljYXRpb24veC12bmQuaGFpa3Utc21iLXdvcmtncm91cAA
81 SCHILY.xattr.user.haiku.BEOS:TYPE#MIMS=application/x-vnd.haiku-smb-workgroup

Although IBM i/AIX, and Solaris seem to have PAX type-E records, of their own formats, and MPE/IX (example file, at https://www.openeloquence.com/support/B07/mpeclient2/tar.html) has records that look like, in "strings":

18 MPE.FILECODE=0
21 MPE.FILELIMIT=256
20 MPE.NUMEXTENTS=1
23 MPE.NUMUSERLABELS=0
22 MPE.BLOCKFACTOR=16
22 MPE.RECORDFORMAT=0
14 MPE.CCTL=0
15 MPE.ASCII=1
21 MPE.RECORDSIZE=80

I can provide example files, if it helps?

@mxmlnkn
Copy link
Owner

mxmlnkn commented Dec 28, 2024

I'm glad ratarmount solved your need!

This seems like something that ratarmount should support in the future. Example files would be very welcome for testing!

This also seems to be relevant for the OCI format and the issue has interesting links for further reading.

@mxmlnkn mxmlnkn added the enhancement New feature or request label Dec 28, 2024
@vmlemon
Copy link
Author

vmlemon commented Dec 28, 2024

No worries. borgbackup/borg#8479 has some IBM i, and Solaris ones, at least.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants