From owner-freebsd-fs@FreeBSD.ORG Tue Jul 24 18:08:19 2012 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 7F2E81065674 for ; Tue, 24 Jul 2012 18:08:19 +0000 (UTC) (envelope-from ee@athyriogames.com) Received: from madonna.sslcatacombnetworking.com (madonna.sslcatacombnetworking.com [174.133.19.130]) by mx1.freebsd.org (Postfix) with ESMTP id 555B98FC14 for ; Tue, 24 Jul 2012 18:08:19 +0000 (UTC) Received: from c-98-206-215-156.hsd1.in.comcast.net ([98.206.215.156] helo=laptopv) by madonna.sslcatacombnetworking.com with esmtpa (Exim 4.69) (envelope-from ) id 1StjOq-0002JT-GB; Tue, 24 Jul 2012 13:00:00 -0500 From: "Engineering" To: "'Christian Laursen'" , References: <01bf01cd66d4$84756b40$8d6041c0$@com> <02b201cd69b6$413ea000$c3bbe000$@com> <500EC8AB.3050101@borderworlds.dk> In-Reply-To: <500EC8AB.3050101@borderworlds.dk> Date: Tue, 24 Jul 2012 13:08:06 -0500 Message-ID: <02ce01cd69c7$47fbb8e0$d7f32aa0$@com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 12.0 Thread-Index: Ac1ptbRjYtp+X+aITnifeE2TyN/gbwAETctg Content-Language: en-us X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - madonna.sslcatacombnetworking.com X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - athyriogames.com Cc: Subject: RE: Make disk completely read-only? X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Jul 2012 18:08:19 -0000 On 07/24/12 18:06, Sam Zehr wrote: >> Hi, this is Sam again, working on making a USB flash drive in FreeBSD >> 9.0 _completely_ read-only. >> >> Disk is mounted read-only - fstab has ro,noatime >> >> Following some advice from the list, I've done some binary compares to >> see what is going on. It looks like only a few bytes are changing >> every time I reboot, they seem to correspond with the superblock >> locations - I would guess a timestamp of mount time? >Try adding this line to rc.conf: > >root_rw_mount="NO" Thanks! That does the trick. Sam