Subject: kern/6723: / cannot be on read-only media
To: None <>
From: Martin J. Laubach <>
List: netbsd-bugs
Date: 01/03/1999 20:46:21
>Number:         6723
>Category:       kern
>Synopsis:       Trying to put the root fs on read-only media fails
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    kern-bug-people (Kernel Bug People)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Jan  3 11:50:00 1999
>Originator:     Martin J. Laubach
>Release:        1.3.3
System: NetBSD asparagus 1.3.3 NetBSD 1.3.3 (ASPARAGUS) #4: Mon Dec 28 17:18:16 CET 1998 mjl@asparagus:/home/temp/devel/kernel/sys/arch/i386/compile/ASPARAGUS i386

  As I understand it, putting variable things in /var should enable
us to mount the root fs read-only. However, this does not work out
since /etc still contains some files that are regularly changed,
for example /etc/dumpdates, /etc/skeykeys.

  Try to mount / ro.

  Move dumpdates, skeykeys et al out of /etc?