Skip to contentSkip to conversation

About the cramfs

DISCUSSION 新 月 1 participant 1 message Aug 2, 2001

lore
Share & tools
lore

新 月

author
#0 lore raw

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