From owner-freebsd-questions Thu Jan 2 7:36: 5 2003 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3DE8337B401 for ; Thu, 2 Jan 2003 07:36:04 -0800 (PST) Received: from smtp.infracaninophile.co.uk (ns0.infracaninophile.co.uk [81.2.69.218]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9C9C943ED8 for ; Thu, 2 Jan 2003 07:36:02 -0800 (PST) (envelope-from m.seaman@infracaninophile.co.uk) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost.infracaninophile.co.uk [IPv6:::1]) by smtp.infracaninophile.co.uk (8.12.6/8.12.6) with ESMTP id h02FZp74018394 for ; Thu, 2 Jan 2003 15:35:51 GMT (envelope-from matthew@happy-idiot-talk.infracaninophile.co.uk) Received: (from matthew@localhost) by happy-idiot-talk.infracaninophile.co.uk (8.12.6/8.12.6/Submit) id h02FZkXD018393 for freebsd-questions@FreeBSD.ORG; Thu, 2 Jan 2003 15:35:46 GMT Date: Thu, 2 Jan 2003 15:35:46 +0000 From: Matthew Seaman To: freebsd-questions@FreeBSD.ORG Subject: Re: Mount "/" read-only. Message-ID: <20030102153546.GA18277@happy-idiot-talk.infracaninophi> Mail-Followup-To: Matthew Seaman , freebsd-questions@FreeBSD.ORG References: <20030102144734.GA7864@lycurgue.localnet> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030102144734.GA7864@lycurgue.localnet> User-Agent: Mutt/1.5.1i X-Spam-Status: No, hits=-2.7 required=5.0 tests=IN_REP_TO,QUOTED_EMAIL_TEXT,REFERENCES,SPAM_PHRASE_03_05, USER_AGENT,USER_AGENT_MUTT version=2.43 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Thu, Jan 02, 2003 at 03:47:35PM +0100, roland Mathieu wrote: > Hi, > > I've got a FreeBSD 4.7 box with 4 differents partitions: "/", "/var", "/tmp" and > "/home", and the configuration is finish. Is it possible to mount "/" > read-only without troubles ? You'll find that you get errors as various programs try to change permissions on files in /dev. Various other things may arbitrarily fail. So, no, you can't mount / read only *without* trouble. That's not to say it's completely impossible. This is something that various people have attempted in the past with varying degrees of success. I'm sure Google will turn up all manner of interesting accounts of what they did. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message