From owner-freebsd-questions Fri Aug 25 18:31:36 2000 Delivered-To: freebsd-questions@freebsd.org Received: from wantadilla.lemis.com (wantadilla.lemis.com [192.109.197.80]) by hub.freebsd.org (Postfix) with ESMTP id C1DB337B424 for ; Fri, 25 Aug 2000 18:31:29 -0700 (PDT) Received: (from grog@localhost) by wantadilla.lemis.com (8.9.3/8.9.3) id LAA17757; Sat, 26 Aug 2000 11:01:18 +0930 (CST) (envelope-from grog) Date: Sat, 26 Aug 2000 11:01:18 +0930 From: Greg Lehey To: R Joseph Wright Cc: freebsd-questions Subject: Re: read only / filesystem Message-ID: <20000826110117.F52219@wantadilla.lemis.com> References: <20000824002732.A45983@dogma.freebsd-uk.eu.org> <20000824101341.D66923@wantadilla.lemis.com> <20000824130404.A51338@dogma.freebsd-uk.eu.org> <20000825111535.F548@wantadilla.lemis.com> <20000824234917.A93373@mammalia.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.4i In-Reply-To: <20000824234917.A93373@mammalia.org>; from rjoseph@mammalia.org on Thu, Aug 24, 2000 at 11:49:17PM -0700 Organization: LEMIS, PO Box 460, Echunga SA 5153, Australia Phone: +61-8-8388-8286 Fax: +61-8-8388-8725 Mobile: +61-418-838-708 WWW-Home-Page: http://www.lemis.com/~grog X-PGP-Fingerprint: 6B 7B C3 8C 61 CD 54 AF 13 24 52 F8 6D A4 95 EF Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Thursday, 24 August 2000 at 23:49:17 -0700, R Joseph Wright wrote: > And Greg Lehey spoke: >> On Thursday, 24 August 2000 at 13:04:04 +0100, j mckitrick wrote: >>> On Thu, Aug 24, 2000 at 10:13:41AM +0930, Greg Lehey wrote: >>>> On Thursday, 24 August 2000 at 0:27:32 +0100, j mckitrick wrote: >>>>> >>>>> i've decided so try a suggestion i heard here: >>>>> i'm going to make / read only. when i booted, i saw a bunch of messages >>>>> about / being read only. is there anything i need to do special to prevent >>>>> problems from this setting? >>>> >>>> Obviously. Read the messages, decide what to do, and do it. >>> >>> i didn't want to break anything in the process. the commands causing the >>> messages must be there for a reason. >> >> Right, they're there in case the permissions were changed earlier. >> That won't happen on a read-only file system. >> >>> also, are there any benefits to doing this, or is the noatime option >>> good enough? >> >> There are certainly benefits. It makes the system a lot more crash >> resistant. > > I make small changes to /etc fairly often. Is it assumed that if one is > making / read only that the system should be fairly well locked into the > configuration that is desired? Yes, I think this is reasonable. > Or is it easy enough to simply remount / rw when changes to /etc are > needed? You can do this, but you can't go back to an ro mount. Basically, I think our current layout isn't really suited to a read-only root file system. Somebody should think out a better approach (and wonder whether the change is worth the effort). Greg -- When replying to this message, please copy the original recipients. For more information, see http://www.lemis.com/questions.html Finger grog@lemis.com for PGP public key See complete headers for address and phone numbers To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message