[klibc] cpio archiving unpacking problem

Martin Hicks mort at wildopensource.com
Fri Nov 21 13:09:45 PST 2003


Hello,

There seems to be problem in the cpio unpack in the kernel in
initramfs.  I have an empty "/sys" directory in my cpio archive, but it
never shows up in my extracted initramfs.

I've confirmed that extracting the archive again with cpio results in a
correct tree, but it doesn't appear on boot when extracted by the
kernel.

Any ideas?  I poked a bit, but I haven't really sat down to try to
understand the cpio state machine in initramfs.c

I've tried sys directories outside of / and they seem to work.  I
thought it might be due to having multiple empty directories in a row
(alphabetically), but that doesn't seem to matter.

thanks
mh

-- 
Martin Hicks                Wild Open Source Inc.
mort at wildopensource.com     613-266-2296




More information about the klibc mailing list