![]() ![]() |
Nov 22 2006, 02:43 PM
Post
#16
|
|
![]() Group: Admin Posts: 3,277 Joined: 29-July 04 From: Cambridge, England Member No.: 4,149 |
yeah, I think lofiprint is for formatting when printing... lofiscreen is the one you want, without it the forum posts kind of merge together and it's harder to read.
|
|
|
|
Nov 22 2006, 02:46 PM
Post
#17
|
|
![]() Group: Members Posts: 1,837 Joined: 31-December 05 From: Illinois USA Member No.: 8,821 |
Thanks for this info.
If you have time, read my post above about my defragging nightmare... http://www.oesf.org/forums/index.php?showt...ndpost&p=146974 post #9 I just updated it. |
|
|
|
Nov 22 2006, 03:13 PM
Post
#18
|
|
![]() Group: Admin Posts: 3,277 Joined: 29-July 04 From: Cambridge, England Member No.: 4,149 |
I have created cramfs and its uploading to my website, it's 72638464 bytes!
I copied the image onto my SD card, and mounted it under /tmp (which on cacko is elsewhere).. thus: $mkdir /dev/shm/tmp/oesfforlofi $mount -o loop -t cramfs /mnt/card/oesfforlofi.cramfs /dev/shm/tmp/oesfforlofi then simply tell opera to browse file: and go to /tmp and to oesfforlofi and then index.html I will also try with squashfs as its archive is only 39407616 bytes, a very worthwhile saving on bandwidth! I can't seem to work out the syntax of squashfs on cacko, it's somehow different to cramfs and I'm tired after a long day! # mount -o loop -t squashfs/mnt/card/oesfforlofi.squashfs /dev/shm/tmp/oesfforlofi mount: Mounting /mnt/card/oesfforlofi.squashfs on /dev/shm/tmp/oesfforlofi failed: Invalid argument |
|
|
|
Nov 22 2006, 03:23 PM
Post
#19
|
|
![]() Group: Members Posts: 1,837 Joined: 31-December 05 From: Illinois USA Member No.: 8,821 |
I have Meanie's Automounter installed. I'll use it to mount the squashfs version as it becomes available.
Thanks again speculatrix In the meantime, the unzipped archive seems to work pretty well If I ever learn Linux and don't have to write everything down, I can stop using this FAT file mess and it's fragmentation problems... |
|
|
|
Nov 22 2006, 07:05 PM
Post
#20
|
|
|
Group: Members Posts: 242 Joined: 31-March 04 Member No.: 2,592 |
QUOTE(speculatrix @ Nov 22 2006, 03:13 PM) I have created cramfs and its uploading to my website, it's 72638464 bytes! I copied the image onto my SD card, and mounted it under /tmp (which on cacko is elsewhere).. thus: $mkdir /dev/shm/tmp/oesfforlofi $mount -o loop -t cramfs /mnt/card/oesfforlofi.cramfs /dev/shm/tmp/oesfforlofi then simply tell opera to browse file: and go to /tmp and to oesfforlofi and then index.html Thanks for this. I had plenty of room, so I just popped this file over to my 1GB SD card. Mounted in my wevserver (boa) root directory, and now I am serving the archive to my local network! Great stuff. Thanks again, Craig... |
|
|
|
Nov 23 2006, 02:11 AM
Post
#21
|
|
![]() Group: Admin Posts: 3,277 Joined: 29-July 04 From: Cambridge, England Member No.: 4,149 |
QUOTE(Jon_J @ Nov 23 2006, 12:23 AM) I have Meanie's Automounter installed. I'll use it to mount the squashfs version as it becomes available. Thanks again speculatrix In the meantime, the unzipped archive seems to work pretty well If I ever learn Linux and don't have to write everything down, I can stop using this FAT file mess and it's fragmentation problems... What I would do if I were you would be... copy off the files you want from your flash card, reformat it, and put the files back again, it'd be a lot quicker than de-fragging! |
|
|
|
Nov 23 2006, 02:16 AM
Post
#22
|
|
![]() Group: Admin Posts: 3,277 Joined: 29-July 04 From: Cambridge, England Member No.: 4,149 |
I deleted the zip file off my site to save disk space, but Antikz's kind provision of a mirror will allow those who want it to grab it.
I'm uploading the squashfs archive now. I am wondering whether I used the right flags to make it as there are lots of options. If someone can test it, please let me know if you can make it work! |
|
|
|
Nov 23 2006, 08:18 AM
Post
#23
|
|
![]() Group: Members Posts: 1,837 Joined: 31-December 05 From: Illinois USA Member No.: 8,821 |
QUOTE(speculatrix @ Nov 23 2006, 04:16 AM) I'm uploading the squashfs archive now. I am wondering whether I used the right flags to make it as there are lots of options. If someone can test it, please let me know if you can make it work! I just copied it to my hard drive. /hdd3/oesf/ folder. Rebooting to see if Meanie's automounter mounts it. It didn't mount automatically, so I created a folder: /mnt/oesf/ Then I tried to mount it in the console. su mount /hdd3/oesf/oesfforlofi.squashfs /mnt/oesf I got this error mount: mounting /hdd3/oesf/oesfforlofi.squashfs on /mnt/oesf failed: Block device required I don't remember what I need to do to make a block device. I recall when using Meanie's pdaXqtrom, there was a script that installed, and mounted the squashfs archives. I'm going to look at Meanie's PDF file and find out how to mount this. |
|
|
|
Nov 23 2006, 08:51 AM
Post
#24
|
|
![]() Group: Admin Posts: 3,277 Joined: 29-July 04 From: Cambridge, England Member No.: 4,149 |
suse kernel comes with cramfs but not squashfs (and without either toolsuite for mkcramfs or mksquashfs, so I built them).
I just finished rebuilding the kernel modules on my fileserver and installed squashfs and am able to mount the oesfforlofi.squashfs on loopback mount and it works fine! CODE # mount -t squashfs -o loop,ro /home/download/zaurus/docs/oesfforlofi.squashfs /tmp/oesf-squashfs # ls /tmp/oesf-squashfs backblue.gif external.gif external.html index.html www.oesf.org However, I cannot mount the cramfs image! CODE # mount -o loop -t cramfs /home/download/zaurus/docs/oesfforlofi.squashfs /tmp/oesf-cramfs mount: wrong fs type, bad option, bad superblock on /dev/loop0, missing codepage or other error In some cases useful info is found in syslog - try dmesg | tail or so # dmesg | tail cramfs: wrong magic Very odd. And a bit annoying. I am woindering if its an endian incompatibility between x86 and Arm - perhaps mkcramfs defaults to arm compat, and mksquashfs to x86? It does mean the squashfs image is worth having if you have an x86 workstation... I wish it were the otherway round because it's the Zaurus that would benefit from the space saving! This post has been edited by speculatrix: Nov 23 2006, 08:54 AM |
|
|
|
Nov 23 2006, 08:59 AM
Post
#25
|
|
![]() Group: Members Posts: 1,837 Joined: 31-December 05 From: Illinois USA Member No.: 8,821 |
I don't know much about mounting either cramfs or squashfs archives, but Meanie's pdaxqtrom comes in both types.
using Meanie's script mounts either cramfs or squashfs versions of pdaxqtrom. Cacko already includes the necessory module for squashfs, but I heard the Sharp rom doesn't. EDIT: So do I have to manually mount this archive by using the above commands? That's what I thought Automounter was for. I thought it did all the commands and mounting for you. I have a problem remembering the commands and switches... This post has been edited by Jon_J: Nov 23 2006, 09:04 AM |
|
|
|
Nov 23 2006, 09:09 AM
Post
#26
|
|
![]() Group: Members Posts: 1,837 Joined: 31-December 05 From: Illinois USA Member No.: 8,821 |
I just tried your command above with my directory setup,
mount -t squashfs -o loop,ro /hdd3/oesf/oesfforlofi.squashfs /mnt/oesf but I got this error: invalid argument. |
|
|
|
Nov 23 2006, 09:27 AM
Post
#27
|
|
![]() Group: Members Posts: 1,837 Joined: 31-December 05 From: Illinois USA Member No.: 8,821 |
I just downloaded the cramfs version, going to try it now.
Do I need to rename it from oesfforlofi.cramfs.arm to oesfforlofi.cramfs |
|
|
|
Nov 23 2006, 09:28 AM
Post
#28
|
|
![]() Group: Admin Posts: 3,277 Joined: 29-July 04 From: Cambridge, England Member No.: 4,149 |
QUOTE(Jon_J @ Nov 23 2006, 05:18 PM) mount: mounting /hdd3/oesf/oesfforlofi.squashfs on /mnt/oesf failed: Block device required I don't remember what I need to do to make a block device. I recall when using Meanie's pdaXqtrom, there was a script that installed, and mounted the squashfs archives. I'm going to look at Meanie's PDF file and find out how to mount this. the error about block device means that the loop-back mount didn't work as it should see the file as a pseudo block device. according to the docs, mksquashfs can make big-endian or little-endian file systems, the one I made yesterday was LE (and I would suggest you rename is to .e.g. oesfforlofi.squashfs.le). It says that the kernel module FS can mount either BE or LE files, but I am wondering if this is the case, and am making a new BE file and will test it to see if will mount on cacko, if it does I will upload it. so, in the meanwhile, you'll have to live with cramfs on zaurus and squashfs on x86! sorry for all this hassle guys, I should really have tested them before uploading. |
|
|
|
Nov 23 2006, 09:32 AM
Post
#29
|
|
![]() Group: Members Posts: 1,837 Joined: 31-December 05 From: Illinois USA Member No.: 8,821 |
The cramfs version mounted.
EDIT: what is the reason for renaming the squashfs archive to oesfforlofi.squashfs.le That won't make it work on the Z, will it? If it only works on a desktop Linux PC, then I'll just delete it off my Zaurus. Thanks speculatrix, I get it now. (I'm a little dense when it comes to these things). I'll try the next squashfs version when it's ready. No hurry, don't miss out on the turkey today while fussing with this This post has been edited by Jon_J: Nov 23 2006, 09:45 AM
Attached File(s)
|
|
|
|
Nov 23 2006, 09:45 AM
Post
#30
|
|
![]() Group: Admin Posts: 3,277 Joined: 29-July 04 From: Cambridge, England Member No.: 4,149 |
QUOTE(Jon_J @ Nov 23 2006, 06:32 PM) The cramfs version mounted. EDIT: what is the reason for renaming the squashfs archive to oesfforlofi.squashfs.le That won't make it work on the Z, will it? If it only works on a desktop Linux PC, then I'll just delete it off my Zaurus. you can call these files anything you want, it doesn't matter at all. glad you've got a working mounted archive. renaming to .le is just my way of remembering which version is which. since it doesn't appear to work on your Z, might as well delete it.. hopefully I will get a squashfs version which does work on Z soon. |
|
|
|
![]() ![]() |
|
Lo-Fi Version | Time is now: 24th May 2013 - 11:18 AM |