From owner-freebsd-fs@FreeBSD.ORG Tue Jul 24 16:09:17 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 743BF106564A for ; Tue, 24 Jul 2012 16:09:17 +0000 (UTC) (envelope-from xi@borderworlds.dk) Received: from kazon.borderworlds.dk (kazon.borderworlds.dk [IPv6:2a01:4f8:101:4201::1:1]) by mx1.freebsd.org (Postfix) with ESMTP id 102438FC0A for ; Tue, 24 Jul 2012 16:09:17 +0000 (UTC) Received: from talaxian.borderworlds.dk (localhost [127.0.0.1]) by kazon.borderworlds.dk (Postfix) with ESMTP id ECA025C43 for ; Tue, 24 Jul 2012 18:09:15 +0200 (CEST) Message-ID: <500EC8AB.3050101@borderworlds.dk> Date: Tue, 24 Jul 2012 18:09:15 +0200 From: Christian Laursen Organization: The Border Worlds User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:13.0) Gecko/20120712 Thunderbird/13.0.1 MIME-Version: 1.0 To: freebsd-fs@freebsd.org References: <01bf01cd66d4$84756b40$8d6041c0$@com> <02b201cd69b6$413ea000$c3bbe000$@com> In-Reply-To: <02b201cd69b6$413ea000$c3bbe000$@com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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 16:09:17 -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" -- Christian Laursen