From owner-freebsd-current@FreeBSD.ORG Tue Jul 15 12:19:37 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 48C2637B401 for ; Tue, 15 Jul 2003 12:19:37 -0700 (PDT) Received: from kientzle.com (h-66-166-149-50.SNVACAID.covad.net [66.166.149.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id C035743F75 for ; Tue, 15 Jul 2003 12:19:36 -0700 (PDT) (envelope-from kientzle@acm.org) Received: from acm.org (ugly.x.kientzle.com [66.166.149.53]) by kientzle.com (8.12.9/8.12.9) with ESMTP id h6FJJVgY032971; Tue, 15 Jul 2003 12:19:31 -0700 (PDT) (envelope-from kientzle@acm.org) Message-ID: <3F145477.1040902@acm.org> Date: Tue, 15 Jul 2003 12:22:31 -0700 From: Tim Kientzle User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.0.1) Gecko/20021005 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Harald Schmalzbauer References: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-current@freebsd.org cc: ticso@cicely.de Subject: Re: FFS_ROOT is gone? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: kientzle@acm.org List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 Jul 2003 19:19:37 -0000 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. I looked briefly at the code, but the bug is not particularly obvious. Tim Kientzle