On Thu, 25 Aug 2011, Sébastien Huss wrote:
# Hi boys, # With the lastest dispute about NAND wear, I was thinking : on the Caanoo the rootfs is RO even $HOME is RO. # Maybe we can copy this idea : # - set the rootFS RO at boot time (use mount -oremount,rw for upgrades) # - put /mnt and /media in a tmpfs (like a symlink to /var/tmp/) # - offer the ability to have an overlay for $HOME on the SDcard # # What do you think ?
Some config changes need to be doable when authorized (/etc type changes), or EDs many config script changes or that drop little files to indicate somethign has happened.
Could flag home as read-only as you propose, but I bet that'd freak out the DE's (like xfce or others.)
Its probably best the developers 'port' and not just 'compile' things.
Could add a warning .. after pnd_run.sh exits, check for home dir changes that occurred since the pnd was run (ie: file change time is >pnd start and <pnd-stop), and report 'A pnd has touched your homedir', with option to not warn again.
--> ie: notify the user of apps with 'side effects', but dont' break things?
jeff
-- If everyone would put barbecue sauce on their food, there would be no war.