Author Topic: Openzaurus File System Layout Questions  (Read 2618 times)

oninitdialog

  • Newbie
  • *
  • Posts: 39
    • View Profile
Openzaurus File System Layout Questions
« on: March 08, 2005, 07:29:21 am »
I have been using Various different OpenZaurus Versions for over a year now and I am very happy with them. Usually after installation I move the /opt folder to /mnt/ram and create a link to it. I know this is dangerous and I proved that to my self today, whilst carrying my Z in my pocket it must have performed a reset which emptied the contents of /mnt/ram and now OPIE does not start up. (My fault I know and luckily I have been using ozone to create images).
I do have a 256Meg SD card formatted as ext2 but I still want the ability to remove the card and put others in without loosing all of OPIE.

My question is how do other people partition up their OZ installations on the SL5500?
C860 PDAXROM + SL5500 Sharp ROM
Pocketop Keyboard
WCF-12, 256Meg SD, CF, GlobalSAT GPS receiver Z-ThinUSBCable, etc.
Gentoo

lardman

  • Hero Member
  • *****
  • Posts: 4512
    • View Profile
    • http://people.bath.ac.uk/enpsgp/Zaurus/
Openzaurus File System Layout Questions
« Reply #1 on: March 08, 2005, 07:33:17 am »
Leave /opt (and everything else) in root; install packages to /mnt/card. Easy as that.

Any packages which you want to use while the card is removed, install to root. You can remove some of the pre-installed packages so that you have enough room for this (packages which you won't want to use when the card's not in there) and install them to the card.


Simon
C750 OZ3.5.4 (GPE, 2.6.x kernel)
SL5500 OZ3.5.4 (Opie)
Nokia 770
Serial GPS, WCF-12, Socket Ethernet & BT, Ratoc USB
WinXP, Mandriva

oninitdialog

  • Newbie
  • *
  • Posts: 39
    • View Profile
Openzaurus File System Layout Questions
« Reply #2 on: March 08, 2005, 08:41:35 am »
Ok that sounds good but which zimages do you use? ie 32-32 or 40-24 etc.

Donald.
C860 PDAXROM + SL5500 Sharp ROM
Pocketop Keyboard
WCF-12, 256Meg SD, CF, GlobalSAT GPS receiver Z-ThinUSBCable, etc.
Gentoo

lardman

  • Hero Member
  • *****
  • Posts: 4512
    • View Profile
    • http://people.bath.ac.uk/enpsgp/Zaurus/
Openzaurus File System Layout Questions
« Reply #3 on: March 08, 2005, 09:12:12 am »
I use 64-0 so that I can have as much memory available as possible - plus I have a large SD card so in any case I have no need to use a RAM-disk.


Si
C750 OZ3.5.4 (GPE, 2.6.x kernel)
SL5500 OZ3.5.4 (Opie)
Nokia 770
Serial GPS, WCF-12, Socket Ethernet & BT, Ratoc USB
WinXP, Mandriva

CoreDump

  • Hero Member
  • *****
  • Posts: 713
    • View Profile
    • http://www.hentges.net
Openzaurus File System Layout Questions
« Reply #4 on: March 10, 2005, 10:45:22 am »
Quote
I use 64-0 so that I can have as much memory available as possible - plus I have a large SD card so in any case I have no need to use a RAM-disk.


Si
[div align=\"right\"][a href=\"index.php?act=findpost&pid=69769\"][{POST_SNAPBACK}][/a][/div]

And if you really need a RAM disk with a 64/0 kernel, just do the following:

rm -f /mnt/ram
mkdir /var/ram
ln -s /var/ram /mnt/ram

/var is mounted as tmpfs (ie: it's a RAM disk) so it's basically the same.
But nothing comes for free. For every byte you copy into /var you loose one
byte of system RAM.
Webmaster of hentges.net & Embedded Linux Developer.