Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use tmpfs for config files #75

Open
raoulh opened this issue Oct 7, 2014 · 1 comment
Open

Use tmpfs for config files #75

raoulh opened this issue Oct 7, 2014 · 1 comment
Milestone

Comments

@raoulh
Copy link
Member

raoulh commented Oct 7, 2014

To save data writes when running on SD card, we need to do that:

  • On start, copy configs files to /tmp
  • Load them and work with those files
  • Add a timer to periodically save the files on the real location (/etc/calaos or ~/.config/calaos)
  • If calaos installer send new config files, force a copy to the real location
  • If calaos_server exits, save to real location too
@raoulh raoulh added this to the v3.0 milestone Oct 7, 2014
@tiramiseb
Copy link

Wouldn't AUFS be a prettier solution ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants