Author Topic: compressed javadoc  (Read 4135 times)

ced

  • Full Member
  • ***
  • Posts: 225
    • View Profile
    • http://
compressed javadoc
« 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.
SL-5600, kernel 2.6.16 + GPE from .dev
Ethernet Socket LP-E
Viking 256M SD

tumnus

  • Hero Member
  • *****
  • Posts: 1176
    • View Profile
    • http://www.cpinkney.org.uk
compressed javadoc
« Reply #1 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.
# Search the Zaurus Howtos ## Search the Zaurus FAQs ## Find Z software at ELSI #
--------------------
UK SL5500 with Sharp ROM 3.13, SL5600 with Sharp ROM 1.32 - SuSE 9.0 Pro, Windows XP Home
Qualendar for Calendar and Todo
Socket Bluetooth CF Card (Rev F), Kingmax 512MB MMC Card, Palm Tungsten T Stylus,
Pretec CF->Smartmedia Adapter, Semsons Universal Battery Extender

ced

  • Full Member
  • ***
  • Posts: 225
    • View Profile
    • http://
compressed javadoc
« Reply #2 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?
SL-5600, kernel 2.6.16 + GPE from .dev
Ethernet Socket LP-E
Viking 256M SD

tumnus

  • Hero Member
  • *****
  • Posts: 1176
    • View Profile
    • http://www.cpinkney.org.uk
compressed javadoc
« Reply #3 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.
# Search the Zaurus Howtos ## Search the Zaurus FAQs ## Find Z software at ELSI #
--------------------
UK SL5500 with Sharp ROM 3.13, SL5600 with Sharp ROM 1.32 - SuSE 9.0 Pro, Windows XP Home
Qualendar for Calendar and Todo
Socket Bluetooth CF Card (Rev F), Kingmax 512MB MMC Card, Palm Tungsten T Stylus,
Pretec CF->Smartmedia Adapter, Semsons Universal Battery Extender