From owner-freebsd-current@FreeBSD.ORG Wed May 5 18:34:46 2004 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 1A72816A4CF; Wed, 5 May 2004 18:34:46 -0700 (PDT) Received: from spiff.melthusia.org (spiff.melthusia.org [207.67.244.17]) by mx1.FreeBSD.org (Postfix) with ESMTP id CE5BA43D41; Wed, 5 May 2004 18:34:45 -0700 (PDT) (envelope-from gtetlow@spiff.melthusia.org) Received: from spiff.melthusia.org (gtetlow@localhost [127.0.0.1]) by spiff.melthusia.org (8.12.10/8.12.10) with ESMTP id i461UPGc029815; Wed, 5 May 2004 18:30:25 -0700 (PDT) (envelope-from gtetlow@spiff.melthusia.org) Received: (from gtetlow@localhost) by spiff.melthusia.org (8.12.10/8.12.10/Submit) id i461UPfh029814; Wed, 5 May 2004 18:30:25 -0700 (PDT) (envelope-from gtetlow) Date: Wed, 5 May 2004 18:30:25 -0700 From: Gordon Tetlow To: Thomas Quinot Message-ID: <20040506013024.GG10016@spiff.melthusia.org> References: <20040501223031.GA10624@melusine.cuivre.fr.eu.org> <20040503122116.GA47228@melusine.cuivre.fr.eu.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="6v9BRtpmy+umdQlo" Content-Disposition: inline In-Reply-To: <20040503122116.GA47228@melusine.cuivre.fr.eu.org> X-Habeas-SWE-1: winter into spring X-Habeas-SWE-2: brightly anticipated X-Habeas-SWE-3: like Habeas SWE (tm) X-Habeas-SWE-4: Copyright 2002 Habeas (tm) X-Habeas-SWE-5: Sender Warranted Email (SWE) (tm). The sender of this X-Habeas-SWE-6: email in exchange for a license for this Habeas X-Habeas-SWE-7: warrant mark warrants that this is a Habeas Compliant X-Habeas-SWE-8: Message (HCM) and not spam. Please report use of this X-Habeas-SWE-9: mark in spam to . User-Agent: Mutt/1.5.5.1i cc: pb@freebsd.org cc: current@freebsd.org cc: audit@freebsd.org Subject: Re: Mounting root through devfs X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 May 2004 01:34:46 -0000 --6v9BRtpmy+umdQlo Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, May 03, 2004 at 02:21:16PM +0200, Thomas Quinot wrote: > * Thomas Quinot, 2004-05-02 : >=20 > > An interesting use of this option is to mount a root file system by > > FFS volume label (using GEOM_VOL), without needing to know what hardware > > identifier will be assigned to it. >=20 > Hum, actually, further testing revealed that this should have worked > with -CURRENT without resorting to any patch. I must have messed up > something when initially determining that this did not work. I was gonna say, you don't need a patch for /dev/vol/root to work. The reason you may have been deceived is because you have to set the label on the root (which can only be done in single user when / is RO), then reboot the machine. Even then, /dev/vol/root doesn't show up because GEOM spoils the geom_vol_ffs class instance from /dev/ad0s1a due to an open write on /dev/ad0s1a (which geom_vol_ffs sits on top of). It takes an act of faith to set /dev/vol/root in your /etc/fstab, reboot, and hopefully everything works. -gordon --6v9BRtpmy+umdQlo Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (FreeBSD) iD8DBQFAmZUwRu2t9DV9ZfsRAlrwAJ9giVlAA1tZx76uakK6YLnmGXEHYgCeLxWa Fzphvw8yNfqEaJaC7rsIfWc= =OM5/ -----END PGP SIGNATURE----- --6v9BRtpmy+umdQlo--