On 2012-01-04, Jiri B <ji...@devio.us> wrote: > Hello, > > I was reading couple of howtos (yeah!) about read-only / with > /etc as mfs. > > I suppose these howtos overlook problem with unavailability of some > important files. > > I suppose boot and init needs some files in /etc before running > /etc/rc, like ttys and master.passwd etc... If you mount /etc > as mfs over "old" /etc used by init, I think you can see following: > > * you cannot modify files hidden under monted over /etc > > ...and... > > * init in single user would ask you different root's password > then used in "normal" state > > I apologize if anybody would complain that this is not supported > solution but anyway, what is your workaround and what do you > think about solution below?
What's the advantage in having /etc on mfs? Why not just remount / readonly after booting and mount it read/write when you need to make changes? If you're looking at something more than this then take a look at how flashboot does things but I'd only consider that in special cases..