OESF Portables Forum

Everything Else => Zaurus - Everything Development => Distros, Development, and Model Specific Forums => Archived Forums => Personal Java/Jeode/J2ME Personal Profile => Topic started by: ced on March 25, 2004, 04:22:48 am

Title: compressed javadoc
Post by: ced on March 25, 2004, 04:22:48 am
The jdk 1.4 javadoc is about ~150M and compressed about ~12M. Is it possible to mount the documentation as compressed?
I\'ve got a 256M SD card as ext2.
Title: compressed javadoc
Post by: tumnus on March 25, 2004, 04:47:37 am
Stuff the uncompressed files into a cramfs image. You should get similar compression and then you can mount the cramfs image on your zaurus without needing any extra untilities.

There should be plenty of help on the web about creating cramfs images.
Title: compressed javadoc
Post by: ced on March 25, 2004, 06:13:58 am
nice one!

on my desktop:
Code: [Select]
mkcramfs docs j2sdk-1.4.2-doc.cramfs

scp j2sdk-1.4.2-doc.cramfs zaurus@


on the zaurus:
Code: [Select]
mkdir /mnt/card/Documents/j2sdk-1.4.2-doc

mount -t cramfs /mnt/card/j2sdk-1.4.2-doc.cramfs /mnt/card/Documents/j2sdk-1.4.2-doc -r -o loop


I\'ve added the mount/unmount command to /etc/sdcontrol file, is it a better place to put it?
Title: compressed javadoc
Post by: tumnus on March 25, 2004, 06:55:54 am
Quote
I\'ve added the mount/unmount command to /etc/sdcontrol file, is it a better place to put it?
That\'s probably the best place to automate it.