On 10.04.19 21:19, Arnd Bergmann wrote:
- we use cpio for initramfs because unpacking cpio in C code is fairly simple, while unpacking tar is not (see the wikipedia page on tar). If we were to unpack it from the kernel, the initramfs code could be trivially reused.
What about ar ? ;-)
- nobody sane uses cpio in user space, since tar is already present almost everywhere, while cpio is rather obscure in comparison.
So, rpm doesn't count as "sane" ? :o
--mtx