Subject: Re: Booting read-only? (more)
To: None <jope@n2h2.com>
From: Bill Studenmund <wrstuden@loki.stanford.edu>
List: port-mac68k
Date: 08/03/1998 12:45:23
>
> On Sat, 1 Aug 1998, El JoPe Magnifico wrote:
> > When you first boot into NetBSD, it will automatically drop you into
> > single-user mode with the root filesystem mounted read-write. [...]
> > ^^^^^^^^^^
>
> At the time I was doing this, I couldn't remember the syntax used by
> mount and fsck. Now that I've had a chance to print a copy of their man
> pages to keep handy, I'll take another whack at it. (If at first you
> don't succeed... =) Umm, and I just thought of something: Would the
> single-user boot option cause it to go read-only instead of what the
> INSTALL doc indicates? Dunno why I had that clicked, but I think I did.
> Apologies if I just answered my own question...
Yes it would. The part of the install docs you're refering to are talking
about what happens about 1/2 way through boot - the startup scripts look
to see if /etc/rc.conf has been set up, and halt if not. It's so that
a freshly-installed but not configured machine doesn't come up as a router
and become a security breach.
The "single-user" boot checkbox dumps you into single user VERY early.
When things are still r/o. :-)
Take care,
Bill