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

Base 256 encoded numbers #139

Open
reynir opened this issue Jan 11, 2024 · 0 comments
Open

Base 256 encoded numbers #139

reynir opened this issue Jan 11, 2024 · 0 comments

Comments

@reynir
Copy link
Member

reynir commented Jan 11, 2024

Some tar implementations use base-256 encoded numbers when they are out of range of the octal representation, for example for file sizes greater than 8GB. I think it may be worth supporting in the reader, but for writing I would not implement it and use PAX instead.

Some resources I found:

https://www.gnu.org/software/tar/manual/html_node/Extensions.html

golang/go#12594

https://busybox.busybox.narkive.com/wxISE34V/let-tar-extract-files-8g

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

No branches or pull requests

1 participant