Author Topic: Installing Apps, And /home On Sd Card?  (Read 5428 times)

Ventmore

  • Jr. Member
  • **
  • Posts: 62
    • View Profile
Installing Apps, And /home On Sd Card?
« on: April 21, 2006, 05:37:39 am »
As I have a 5500, I would like to install all my apps, and when I eventually change ROM, /home, on the SD card, so that I don't loose everything in case of total power loss.

My question is, how does this work?  I know I can install the apps on the SD card, and they work just fine, but is a link created in RAM so that the device knows I have apps on my card?  If so, then surely I will lose the links if I lose power, and I'd have to recreate them.

Also, I know that I need to use a different ROM to move /home to the SD card, but what about conf files that I edit such as /etc/pcmcia/wlan-ng.conf?  Is there any way to avoid having to re-edit them in the event of total power failure?

Cheers
Ventmore

lardman

  • Hero Member
  • *****
  • Posts: 4512
    • View Profile
    • http://people.bath.ac.uk/enpsgp/Zaurus/
Installing Apps, And /home On Sd Card?
« Reply #1 on: April 21, 2006, 07:03:47 am »
What are you running? Sharp, OpenZaurus, etc.?


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

Ventmore

  • Jr. Member
  • **
  • Posts: 62
    • View Profile
Installing Apps, And /home On Sd Card?
« Reply #2 on: April 21, 2006, 07:56:15 am »
Quote
What are you running? Sharp, OpenZaurus, etc.?


Si
[div align=\"right\"][a href=\"index.php?act=findpost&pid=124013\"][{POST_SNAPBACK}][/a][/div]
Sorry  At the moment...I'm running Sharp, but I will be upgrading to one of the ROMs that allows me to move /home to the SD card when I get a chance

Cheers
Ventmore

Ventmore

  • Jr. Member
  • **
  • Posts: 62
    • View Profile
Installing Apps, And /home On Sd Card?
« Reply #3 on: April 22, 2006, 06:10:38 am »
After a quick look around the filesystem, I see that there is and /etc under / and one under /home.  Which one is used, and which should I edit files under?

Cheers
Ventmore

Ventmore

  • Jr. Member
  • **
  • Posts: 62
    • View Profile
Installing Apps, And /home On Sd Card?
« Reply #4 on: April 22, 2006, 07:42:10 am »
Ok...so I'm guessing /etc is linked to /home/etc...I'm still new to all this...but which one is the physical directory?  I would think it would be /home/etc, but how can you tell?

Cheers
Ventmore

Antikx

  • Hero Member
  • *****
  • Posts: 1147
    • View Profile
    • http://tyrannozaurus.com
Installing Apps, And /home On Sd Card?
« Reply #5 on: April 28, 2006, 11:49:53 pm »
Not sure if this is the answer you are looking for but an:
ls -l
...will show you where symbolic links go to.
If you want to put your /home on an SD card you can probably use any ROM.
Just format your SD card EXT2 or EXT3, log in as a differnet user, move the users home dir to the SD card, and use this:
ln -s CARDDIR FLASHHOMEDIR

Let us know how you make out.
Kanpai,
-Antikx (Twitter, Mugshot and PodNova)
C1000 - pdaXrom R198 (Celestial Environment)
tyrannozaurus.com
[img]http://www.tyrannozaurus.com/files/category_pictures/general_1.png\" border=\"0\" class=\"linked-sig-image\" /]
Zaurus news/blogs feed from Zaurus users
Free Windows, Linux, or Web RSS readers.
Featured pages at tyrannozaurus:
Sharp Petition, ScummVM, Cacko, pdaXii13, and Celestial Environment

Ventmore

  • Jr. Member
  • **
  • Posts: 62
    • View Profile
Installing Apps, And /home On Sd Card?
« Reply #6 on: April 29, 2006, 04:32:43 am »
Quote
Not sure if this is the answer you are looking for but an:
ls -l
...will show you where symbolic links go to.
If you want to put your /home on an SD card you can probably use any ROM.
Just format your SD card EXT2 or EXT3, log in as a differnet user, move the users home dir to the SD card, and use this:
ln -s CARDDIR FLASHHOMEDIR

Let us know how you make out.
[div align=\"right\"][{POST_SNAPBACK}][/a][/div]
Thanks for taking the time to reply mate

I'm not sure that will work, as I've just found out the flashrom fs will not allow me to write to it...see here:

[a href=\"https://www.oesf.org/forums/index.php?showtopic=19113&st=0&p=125053&#entry125053]https://www.oesf.org/forums/index.php?showt...53&#entry125053[/url]

I'm going to give tckrom a go again today, and see if it works out for me this time.  I tried it a few days ago, and it was great.../home on sd worked a treat, and it was fast, but it was having problems with my wireless card.  Fingers crossed it works this time around

Cheers
Ventmore