4 ms·
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
by pornel 6y ago
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.
- klodolph 6y agoUnless you're using PaX, isn't the file size just a fixed-size field in the header? Is there something I'm missing?
- Hello71 6y agofixed... ish... with two sizes and two formats: https://dev.gentoo.org/~mgorny/articles/portability-of-tar-features.html#large-file-sizes https://dev.gentoo.org/~mgorny/articles/portability-of-tar-f...