From owner-freebsd-current@FreeBSD.ORG Tue Jul 15 14:45:35 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 E736D37B401 for ; Tue, 15 Jul 2003 14:45:35 -0700 (PDT) Received: from srv1.cosmo-project.de (srv1.cosmo-project.de [213.83.6.106]) by mx1.FreeBSD.org (Postfix) with ESMTP id B5C0943F93 for ; Tue, 15 Jul 2003 14:45:34 -0700 (PDT) (envelope-from ticso@cicely12.cicely.de) Received: from cicely5.cicely.de (cicely5.cicely.de [IPv6:3ffe:400:8d0:301:200:92ff:fe9b:20e7]) by srv1.cosmo-project.de (8.12.9/8.12.9) with ESMTP id h6FLjNhR001725 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=OK); Tue, 15 Jul 2003 23:45:27 +0200 (CEST) (envelope-from ticso@cicely12.cicely.de) Received: from cicely12.cicely.de (cicely12.cicely.de [IPv6:3ffe:400:8d0:301::12]) by cicely5.cicely.de (8.12.9/8.12.9) with ESMTP id h6FLjLAx015383 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 15 Jul 2003 23:45:22 +0200 (CEST) (envelope-from ticso@cicely12.cicely.de) Received: from cicely12.cicely.de (localhost [127.0.0.1]) by cicely12.cicely.de (8.12.9/8.12.9) with ESMTP id h6FLjLgt009456; Tue, 15 Jul 2003 23:45:21 +0200 (CEST) (envelope-from ticso@cicely12.cicely.de) Received: (from ticso@localhost) by cicely12.cicely.de (8.12.9/8.12.9/Submit) id h6FLjKnv009455; Tue, 15 Jul 2003 23:45:21 +0200 (CEST) Date: Tue, 15 Jul 2003 23:45:20 +0200 From: Bernd Walter To: Tim Kientzle Message-ID: <20030715214519.GG72706@cicely12.cicely.de> References: <3F145477.1040902@acm.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3F145477.1040902@acm.org> X-Operating-System: FreeBSD cicely12.cicely.de 5.1-CURRENT alpha User-Agent: Mutt/1.5.4i cc: freebsd-current@freebsd.org cc: ticso@cicely.de cc: Harald Schmalzbauer Subject: Re: FFS_ROOT is gone? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: ticso@cicely.de 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 21:45:36 -0000 On Tue, Jul 15, 2003 at 12:22:31PM -0700, Tim Kientzle wrote: > 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) You can pass a filesystem at the loader prompt: vfs.root.mountfrom="" > >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. At least it wasn't broken a while ago. What happens exactly after entering the correct device? -- B.Walter BWCT http://www.bwct.de ticso@bwct.de info@bwct.de