I think I'm a bit confused with all the options in the documentation so
I was hoping I could get a little info from the list

I've got a system where I mount the root filesystem read-only and overlay
a tmpfs on it.  I do something like the following in my initrd

  mount -o move / /root/ro
  mount -t tmpfs tmpfs /root/rw
  mount -t aufs -o "br:/root/rw:/root/ro" none /

This works great since on these systems I have to worry about users just
shutting them off at a whim.  When I need to change something on the RO
filesystem I can remount it with

  mount -o remount,udba=inotify /
  mount -o remount,rw /root/ro

and then change it back with

  mount -o remount,ro /root/ro
  mount -o remount,udba=reval /

this all works great.  What I would like to do, though, is take an additional
jffs2 partition I have and mount it as something like /etc/preferences where
changes to that directory will bypass the root filesystem and the tmpfs and
only get written to the jffs2 partition.  How can I do this without causing
problems with overlays?

Also is it possible to do it after the other steps?  It would be nice to 
do the steps above and then later do the /etc/preferences mount if I can
detect that it exists.

Thanks for any help

-- 
  Matthew Harrell
  Bit Twiddlers, Inc.
  http://alecto.bittwiddlers.com

------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev

Reply via email to