-
Notifications
You must be signed in to change notification settings - Fork 340
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
Append missing in tar #331
Comments
Nobody had asked for it yet. I'll try to take a look in the morning. (Does it strip off the trailing null blocks or do they not cause a problem...?) |
It's gotta strip. Ok. |
I despise github's Gratuitous Wiki Syntax in replies. |
Except the archives can be compressed, at which point stripping off the trailing null blocks is nontrivial. Depending on the compression format, you may have to recompress the whole archive. And it's ALREADY nontrivial because you have to parse from the beginning to see how many trailing null blocks are padding and how many are potentially payload from the last file... |
Where we're using it, it's a simple .tar without any compression but I don't know how GNU tar does it. We archive a ./usr into a tar, list everything that's in it into a text file and then inject that list afterwards to the archive. Then we use XZ and compress it. |
Using Toybox tar and the flag
-r
ain't there. Couldn't find in--help
any other flag for append.The text was updated successfully, but these errors were encountered: