OESF | ELSI | pdaXrom | OpenZaurus | Zaurus Themes | Community Links | Ibiblio

IPB

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> compressed javadoc
ced
post Mar 25 2004, 01:22 AM
Post #1





Group: Members
Posts: 225
Joined: 9-December 03
Member No.: 1,104



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.
Go to the top of the page
 
+Quote Post
tumnus
post Mar 25 2004, 01:47 AM
Post #2





Group: Members
Posts: 1,176
Joined: 3-October 03
From: UK
Member No.: 547



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.
Go to the top of the page
 
+Quote Post
ced
post Mar 25 2004, 03:13 AM
Post #3





Group: Members
Posts: 225
Joined: 9-December 03
Member No.: 1,104



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?
Go to the top of the page
 
+Quote Post
tumnus
post Mar 25 2004, 03:55 AM
Post #4





Group: Members
Posts: 1,176
Joined: 3-October 03
From: UK
Member No.: 547



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.
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 19th December 2014 - 06:22 AM