About the cramfs

=?gb2312?q?=D0=C2=20=D4=C2?= (xinyuepeng@yahoo.com)
Thu, 2 Aug 2001 17:47:19 +0800 (CST)


hi!
I was creating the cramfs image using
/linux/scripts/mkcramfs.c,because of the big endian,so
I got
a patch to convert.
When I mounted the cramfs as root
filesystem,it worked, and to read directory was also
ok,but When
I tried to read the files ,I found that it didn't work
well.Sometimes,error emerged as follow:
bash>Error -3 while decompressing!
00158fb8(67829187)->001f0000(1024)
and I used system page size is 1024,when the file size
was beyond page size,the error must emerge.
I think it is possible that I used the zlib
which is used in kernel 3.x ,but the kernel I used is
2.x,but I didn't sure.
Could you explain it? Thanks

Best Regards:
ypxin

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/