Help - Search - Members - Calendar
Full Version: compressed javadoc
OESF Forums > Distros, Development, and Model Specific Forums > Everything Development > Personal Java/Jeode/J2ME Personal Profile
ced
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.
tumnus
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.
ced
nice one!

on my desktop:
CODE
mkcramfs docs j2sdk-1.4.2-doc.cramfs

scp j2sdk-1.4.2-doc.cramfs zaurus@<ip>


on the zaurus:
CODE
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?
tumnus
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.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2015 Invision Power Services, Inc.