
| Current Path : /usr/share/doc/libarchive-dev/examples/minitar/ |
Linux ift1.ift-informatik.de 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64 |
| Current File : //usr/share/doc/libarchive-dev/examples/minitar/README |
"minitar" is a minimal example of a program that uses libarchive to read/write various archive formats. It's a more ambitious version of 'untar.c' that includes compile-time options to enable/disable various features, including non-tar formats, archive creation, and automatic decompression support. I use this as a test bed to check for "link pollution," ensuring that a program using libarchive does not pull in unnecessary code. The "minitar" program is also a good starting point for anyone who wants to use libarchive for their own purposes, as it demonstrates basic usage of the library.