I've seen the "shared /etc" concept kicked around so much, I'm sure there must be a way to do it, but there's at least one file (mtab), that normally gets updated at boot time. The routers and firewalls I've seen usually load the root fs into a ramdisk. Since they boot the same every time, it doesn't matter if changes are lost.
So how do you share /etc read only without breaking things? > -----Original Message----- > From: John Summerfield [mailto:[EMAIL PROTECTED]] > Sent: Thursday, February 20, 2003 7:43 PM > To: [EMAIL PROTECTED] > Subject: Re: [LINUX-390] R/O Linux guest? > > > > Mybe were talking RedHats to SuSe's or something. > > I don't understand why /boot (the target of zipl) can > be separated > > from the load point (/) file structure and /etc can't be. > USS seemed to > > Don't say that. Some Linux distros boot from CD, read /etc > from floppy. Good for > firewalls, demos etc. > > > I don't see why you shouldn't have / ro, have a basic /etc > with enough for > system recovery and to have an entry in /etc/inittab to run a > script to locate > and mount the real /etc over the top. You could probably do > it from /linuxrc > too, I have an installer that runs entirely from there;-) > > You need to give more than five seconds thought to decide > whether to go directly > from single-user to multi-user or to reboot. > > If you want to be able to make permanent changes to /etc, > then have a "save > /etc" script you run. > > > -- > Cheers > John Summerfield > > Microsoft's most solid OS: http://www.geocities.com/rcwoolley/ > > Note: mail delivered to me is deemed to be intended for me, > for my disposition. > > ============================== > If you don't like being told you're wrong, > be right! >
