Re: ro / and /etc on mfs - clarification

2012-01-05 Thread Kevin Chadwick
On Thu, 5 Jan 2012 13:47:43 -0800 Chris Cappuccio wrote: > /dev needed to be MFS for sshd to work, it wanted to update metadata on tty > devices, i'm not sure if that's still the case anymore. It is though you can use sftp or static dev entries for an admin on his tod. --- Kc

Re: ro / and /etc on mfs - clarification

2012-01-05 Thread Chris Cappuccio
Stuart Henderson [s...@spacehopper.org] wrote: > > On this type of system I just do "rw;vi /whatever;ro" where rw/ro are simple > shell scripts that run "mount -uw /" and "mount -ur /" respectively, I don't > usually find this a problem. > > Or you could use a wrapper which does similar and commi

Re: ro / and /etc on mfs - clarification

2012-01-05 Thread Chris Cappuccio
how about this scenario: 1. tar cvf /tmp/etc.tar /etc 2. mount_mfs -s 20M swap /etc 3. tar xvf /tmp/etc.tar -C / Jiri B [ji...@devio.us] wrote: > scenario: > = > > * mkdir /proto_etc > * cp -Rp /etc/* /proto_etc > * mkdir /pre_etc > * cd /pre_etc > * for i in boot.conf rc ttys passwd mas

Re: ro / and /etc on mfs - clarification

2012-01-05 Thread Stuart Henderson
On 2012-01-05, Jiri B wrote: > On Thu, Jan 05, 2012 at 01:12:43AM +, Stuart Henderson wrote: >> 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 t

Re: ro / and /etc on mfs - clarification

2012-01-05 Thread Jan Stary
On Jan 04 21:18:51, Jiri B wrote: > On Thu, Jan 05, 2012 at 01:12:43AM +, Stuart Henderson wrote: > > 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

Re: ro / and /etc on mfs - clarification

2012-01-04 Thread Jiri B
On Thu, Jan 05, 2012 at 01:12:43AM +, Stuart Henderson wrote: > 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

Re: ro / and /etc on mfs - clarification

2012-01-04 Thread Stuart Henderson
On 2012-01-04, Jiri B 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

ro / and /etc on mfs - clarification

2012-01-04 Thread Jiri B
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