Hi, Ummm... I think I found a bug in cpio 2.6.
I was building a kernel initramfs using this ... find . > ../filelist.cpio cpio -H newc --verbose -o < ../filelist.cpio | gzip -9 > ../../initramfs.cpio.gz The filelist contains about a hundred files, most of which are symlinks, when using cpio 2.5 I get a 2Mb cpio archive. Using 2.6 I get a cpio archive a few hundred Mb big. The bug relates to the handling of symlinks, it looks like its dereferencing the link. I checked the source (copyout.c) and saw it looks for 2 defines S_ISLNK and CP_IFLNK, both of these are defined. You can test it out by creating about 50 symlinks to libc.so.6, then run the commands above. Please let me know if this is an error on my side, or what I can do to help find the problem. Kind Regards Nigel
signature.asc
Description: OpenPGP digital signature
_______________________________________________ Bug-cpio mailing list [email protected] http://lists.gnu.org/mailman/listinfo/bug-cpio
