Date: Tue, 24 Jul 2012 18:09:15 +0200 From: Christian Laursen <xi@borderworlds.dk> To: freebsd-fs@freebsd.org Subject: Re: Make disk completely read-only? Message-ID: <500EC8AB.3050101@borderworlds.dk> In-Reply-To: <02b201cd69b6$413ea000$c3bbe000$@com> References: <01bf01cd66d4$84756b40$8d6041c0$@com> <CAPS9%2BStQY%2B3W3aYHaXsqOeFGus18Mt0x1pGV1OTYOvRc1Wf=vw@mail.gmail.com> <02b201cd69b6$413ea000$c3bbe000$@com>
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" -- Christian Laursen
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?500EC8AB.3050101>