Author Topic: Opie PIM - where is data stored?  (Read 1948 times)

ksignorini

  • Full Member
  • ***
  • Posts: 117
    • View Profile
Opie PIM - where is data stored?
« on: October 31, 2004, 06:40:33 pm »
Where do the Opie PIM apps store their data?

Can they be directed to store the data on SD instead?

Thanks,
Kent!

edit: removed a comment caused by my ignorance and clarified
« Last Edit: October 31, 2004, 09:28:52 pm by ksignorini »

ksignorini

  • Full Member
  • ***
  • Posts: 117
    • View Profile
Opie PIM - where is data stored?
« Reply #1 on: October 31, 2004, 09:43:28 pm »
In fact...

Could I move my entire /root folder to /mnt/card/root and then symlink /root to the new location?

Would this store my PIM data on the card along with any other config files, etc. from apps and also act as the standard Documents location for apps that only store their data in /root/Documents?

What are the caveats in doing this?

What happens if the card is not inserted on bootup?

Thanks,
Kent!

zenyatta

  • Sr. Member
  • ****
  • Posts: 366
    • View Profile
    • http://
Opie PIM - where is data stored?
« Reply #2 on: November 01, 2004, 01:37:56 am »
Read up here or here.

z.
« Last Edit: November 01, 2004, 01:38:13 am by zenyatta »
SL-5500, 256MB Kingston CF card, 128MB EDGE SD card, Thomson HED-155 headphones
OpenZaurus 3.5.3 / Opie (kernel 64-0)

ksignorini

  • Full Member
  • ***
  • Posts: 117
    • View Profile
Opie PIM - where is data stored?
« Reply #3 on: November 01, 2004, 12:56:03 pm »
Thanks.

I have now tried to symlink /root/Documents, /root/Settings, and /root/Applications to seperate dirs on the SD card and all is well.  If I boot without the card in I get some weirdness (Opie somewhat resets and can't find anything) but as soon as the SD is back in, another reboot brings it all back.

I believe I will put the three dirs above back where they belong and instead move all of /root to the card and symlink the /root dir.

btw:  Is anything ever stored in /home?  It appears the only user on the device is "root" and all of root's stuff is normally stored in /root.

Thanks again,
Kent!
« Last Edit: November 01, 2004, 12:56:46 pm by ksignorini »