iarticle-mort-the-tar-archive-format.mw - tgtimes - The Gopher Times Err bitreich.org 70 hgit clone git://bitreich.org/tgtimes git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/tgtimes URL:git://bitreich.org/tgtimes git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/tgtimes bitreich.org 70 1Log /scm/tgtimes/log.gph bitreich.org 70 1Files /scm/tgtimes/files.gph bitreich.org 70 1Refs /scm/tgtimes/refs.gph bitreich.org 70 1Tags /scm/tgtimes/tag bitreich.org 70 1README /scm/tgtimes/file/README.md.gph bitreich.org 70 i--- Err bitreich.org 70 iarticle-mort-the-tar-archive-format.mw (1254B) Err bitreich.org 70 i--- Err bitreich.org 70 i 1 .SH tgtimes Err bitreich.org 70 i 2 GNU tar(1) extraction is quadratic Err bitreich.org 70 i 3 .2C 16v Err bitreich.org 70 i 4 . Err bitreich.org 70 i 5 .PP Err bitreich.org 70 i 6 When implementing something from the ground, it gets possible to build-up a simple home-baked file format or protocol looking perfect without any cruft and legacy. Err bitreich.org 70 i 7 Easy to implement, fast to adopt, supporting everything you need from it, and not much more... Err bitreich.org 70 i 8 Likely an alternative to a huge elephant in the room: the current standard in place used by everyone, huge, with many extensions with many use-cases... Err bitreich.org 70 i 9 . Err bitreich.org 70 i 10 .PP Err bitreich.org 70 i 11 Why bother, then, with implementing the huge and difficult file format or protocol? Err bitreich.org 70 i 12 Maybe because it would be used by many software, and writing data in this slightly more bloated format would help making it compatible with all the software that already support it. Err bitreich.org 70 i 13 . Err bitreich.org 70 i 14 .PP Err bitreich.org 70 i 15 In this compromise, a limit can be drawn, across which the big and bloated format or protocol is dropped in favor of a simpler, more reasonable, less time-wasting alternative, eventually home-brewed. Err bitreich.org 70 i 16 . Err bitreich.org 70 i 17 .PP Err bitreich.org 70 i 18 .\fImort\fR is exploring this limit in the context of the GNU tar(1) archive format, in a detailed analysis covering the choices made and practical examples. Err bitreich.org 70 i 19 . Err bitreich.org 70 i 20 .PP Err bitreich.org 70 i 21 The result is a new tar implementation written for the single special-case of a 1.1 TiB file! Err bitreich.org 70 i 22 . Err bitreich.org 70 i 23 .FS Err bitreich.org 70 i 24 https://mort.coffee/home/tar/ Err bitreich.org 70 i 25 .FE Err bitreich.org 70 .