Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 24 Jul 2012 13:08:06 -0500
From:      "Engineering" <ee@athyriogames.com>
To:        "'Christian Laursen'" <xi@borderworlds.dk>, <freebsd-fs@freebsd.org>
Subject:   RE: Make disk completely read-only?
Message-ID:  <02ce01cd69c7$47fbb8e0$d7f32aa0$@com>
In-Reply-To: <500EC8AB.3050101@borderworlds.dk>
References:  <01bf01cd66d4$84756b40$8d6041c0$@com>	<CAPS9%2BStQY%2B3W3aYHaXsqOeFGus18Mt0x1pGV1OTYOvRc1Wf=vw@mail.gmail.com>	<02b201cd69b6$413ea000$c3bbe000$@com> <500EC8AB.3050101@borderworlds.dk>

next in thread | previous in thread | raw e-mail | index | archive | help

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






Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?02ce01cd69c7$47fbb8e0$d7f32aa0$>