From owner-freebsd-hackers@FreeBSD.ORG Tue Aug 17 16:34:54 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E867416A4CE for ; Tue, 17 Aug 2004 16:34:54 +0000 (GMT) Received: from odin.ac.hmc.edu (Odin.AC.HMC.Edu [134.173.32.75]) by mx1.FreeBSD.org (Postfix) with ESMTP id C9EC143D1D for ; Tue, 17 Aug 2004 16:34:54 +0000 (GMT) (envelope-from brdavis@odin.ac.hmc.edu) Received: from odin.ac.hmc.edu (localhost.localdomain [127.0.0.1]) by odin.ac.hmc.edu (8.13.0/8.13.0) with ESMTP id i7HGZ0WD030265 for ; Tue, 17 Aug 2004 09:35:00 -0700 Received: (from brdavis@localhost) by odin.ac.hmc.edu (8.13.0/8.13.0/Submit) id i7HGZ0lw030264 for freebsd-hackers@freebsd.org; Tue, 17 Aug 2004 09:35:00 -0700 Date: Tue, 17 Aug 2004 09:35:00 -0700 From: Brooks Davis To: freebsd-hackers@freebsd.org Message-ID: <20040817163500.GC28054@odin.ac.hmc.edu> References: <20040817185240.A5554@oasis.uptsoft.com> <20040817161516.GB53307@dan.emsphone.com> <20040817192552.B5554@oasis.uptsoft.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="yLVHuoLXiP9kZBkt" Content-Disposition: inline In-Reply-To: <20040817192552.B5554@oasis.uptsoft.com> User-Agent: Mutt/1.4.1i X-Virus-Scanned: by amavisd-new X-Spam-Status: No, hits=0.0 required=8.0 tests=none autolearn=no version=2.63 X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on odin.ac.hmc.edu Subject: Re: actual boot device X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Aug 2004 16:34:55 -0000 --yLVHuoLXiP9kZBkt Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable [Please don't top post, it breaks context. Post reformatted.] On Tue, Aug 17, 2004 at 07:25:52PM +0300, Sergey Lyubka wrote: > On Tue, Aug 17, 2004 at 11:15:16AM -0500, Dan Nelson wrote: > > In the last episode (Aug 17), Sergey Lyubka said: > > > How would one know the actual boot device after kernel successfully > > > booted ? > >=20 > > The kern.bootfile sysctl points to the kernel file that was loaded, > > according to the loader. If you booted off of cdrom or floppy, you can > > run "kenv loaddev" to find out which device was actually used to read > > the file. > > I am booting kernel directly from bootblock, and do not have > boot loader, so kenv does not work. You don't say which version you are running, but in 5.x booting without the loader is not supported in any way shape or form. -- Brooks --=20 Any statement of the form "X is the one, true Y" is FALSE. PGP fingerprint 655D 519C 26A7 82E7 2529 9BF0 5D8E 8BE9 F238 1AD4 --yLVHuoLXiP9kZBkt Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQFBIjOzXY6L6fI4GtQRAgsOAKCvn0wm0Ed5to2uiPMPAwACSkmNBQCgzvvF RyLmcTkNV2y3klb1xQQoAyg= =SUaj -----END PGP SIGNATURE----- --yLVHuoLXiP9kZBkt--