Hi All, I'm tweaking Ubuntu 9.04 Live USB system with persistent extensions and have a question about the aufs.
The goal is to create overlayed directories under the live system so that: 1. Most of the live filesystem is overlayed with tmpfs and thus volatile. 2. Some directories under the live root are persistent, e.g. /etc, /home, /var ... 3. It is possible to temporary overlay the selected directories under live root with volatile tmpfs. Such a solution could lower wear off rate of the flash memory and allows to tighten security of the live image. I've got a config which works as expected but it requires each of the live root filesystem subdirectories (/bin, /etc, /lib ...) to be mounted separately. All the mounts are done during initramfs stage. Branches read-only, tmpfs and copy-on-write are published to live session by bind-mounting them to /liveroot/rofs/etc, /liveroot/tmpfs/etc, /liveroot/cow/etc ... This configuration allows me to run aufs -oremount command with add, del, or -oremount,ro parameters. It does work but raises an existential question: is it possible at all to achieve similar functionality without breaking root filesystem in pieces? It would be interesting to hear your thoughts! ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference
