Initrd Dynamic
Initrd Dynamic
Posted Nov 8, 2002 22:09 UTC (Fri) by Peter (guest, #1127)In reply to: Initrd Dynamic by pflugstad
Parent article: Initramfs arrives
(note: I like tar better than cpio as well).
You probably mean you like the /usr/bin/tar interface better than the /usr/bin/cpio interface. Hey, who doesn't? `tar' is quite confusing when you first try to figure out the command line, but we've all long since learned the important options. But there's a reason Red Hat picked cpio as the basis for the RPM package format. As people have said on linux-kernel, tar is a mess of a format, compatibility-wise - the original version had some annoying filename length limitations and stored only numeric uid/gids, and there are two or three derivative formats that remove these limitations but as kludges so as not to completely confuse old `tar' programs. I understand cpio is a much saner format, from an implementor's point of view. That's why Al Viro and co. went with it for initramfs.
(Interestingly, although RPM is based on cpio, Debian's .deb format is based on tar.gz or, recently, tar.bz2.)
