Re:Micro-Optimizing .tar.gz Archives by Changing File Order
by pornel on Thursday August 20, 2020 @08:10AM
(#24222382)
There's no simplicity in tar. Even reading the file size is a guesswork. It's a baroque format with weird short-sighted decisions patched and extended in ad-hoc ways by multiple subtly incompatible implementations.
[ Parent
| on HN ]
Re:Micro-Optimizing .tar.gz Archives by Changing File Order
by klodolph on Thursday August 20, 2020 @08:15AM
(#24222414)
Unless you're using PaX, isn't the file size just a fixed-size field in the header? Is there something I'm missing?
Re:Micro-Optimizing .tar.gz Archives by Changing File Order
by Hello71 on Thursday August 20, 2020 @08:37AM
(#24222571)
fixed... ish... with two sizes and two formats: https://dev.gentoo.org/~mgorny/articles/portability-of-tar-f...