Author Topic: mkcramfs for cygwin  (Read 12100 times)

ShiroiKuma

  • Hero Member
  • *****
  • Posts: 900
    • View Profile
mkcramfs for cygwin
« Reply #15 on: December 15, 2004, 05:20:05 am »
Quote
I simply created a directory called test, then put the text files in the test directory.  I then ran:

mkcramfs test test.cramfs

My understanding is that this version of mkcramfs requires an amount of RAM equal to or greater than the total size of the files that you will be compressing.  If you do not have enough memory, then the program will not function correctly on large files or large numbers of files.

As I mentioned in an earlier post, I created a cramfs file out of the HTML directories that comprise the CIA World Fact Book.  The resulting cramfs file is over 36MB in size.
I've tried again to use your binary and it works.

I've used it under a fresh install of cygwin and didn't use the dll's that come with it, but just left the cygwin ones in place.

It worked no problem now.

The only thing it tells me the maximum created volume size is around 270 MB or so. Is there any way to get past this as I need bigger volumes?

Thanks.
[span style=\'font-size:8pt;line-height:100%\']Das ganze tschechische Volk ist eine Simulantenbande.[/font][/span]
Militäroberarzt Bautze

qx773

  • Full Member
  • ***
  • Posts: 219
    • View Profile
mkcramfs for cygwin
« Reply #16 on: December 15, 2004, 10:08:34 pm »
You could try increasing your maximum swap file size.

ShiroiKuma

  • Hero Member
  • *****
  • Posts: 900
    • View Profile
mkcramfs for cygwin
« Reply #17 on: December 16, 2004, 03:30:59 am »
Quote
You could try increasing your maximum swap file size.
I made it 3 GB, trying to cramfs a 1 GB archive, doesn't work.

Also, I've just found the cramfs cuts off any larger file down to 16 MB, thereby destroying it in the cramfs, making it unusable.

Is there any way, to go around this?
[span style=\'font-size:8pt;line-height:100%\']Das ganze tschechische Volk ist eine Simulantenbande.[/font][/span]
Militäroberarzt Bautze