Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 15 Jul 2003 12:22:31 -0700
From:      Tim Kientzle <kientzle@acm.org>
To:        Harald Schmalzbauer <h@schmalzbauer.de>
Cc:        ticso@cicely.de
Subject:   Re: FFS_ROOT is gone?
Message-ID:  <3F145477.1040902@acm.org>
References:  <GHEOJEPHNBOPAMKOBHNIGELBCEAA.h@schmalzbauer.de>

next in thread | previous in thread | raw e-mail | index | archive | help
Harald Schmalzbauer wrote:
> The problem is solved. It was stupid, but I thought why should I have to set
> / in /etc/fstab when the filesystem isn't mounted yet, so the file can't be
> read.
> But it seems the kernel reads this file "loader-like" *before* the
> filesystem is mounted.

I believe that the loader actually reads this file (it
has to be able to locate and read files from UFS anyway
in order to load the kernel) and passes the root f/s
information to the kernel when it boots.  This should
probably be documented in fstab(5)

> Considering the above to be correct I can't understand the ability to enter
> e. g. ufs:/dev/ad0a at "mountroot>" when it doesn't work.

I've also been stung by the fact that the
"mountroot>" prompt is broken.  <sigh>
I looked briefly at the code, but the
bug is not particularly obvious.

Tim Kientzle




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3F145477.1040902>