From owner-freebsd-hackers Mon Apr 1 9:59:46 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from iguana.icir.org (iguana.icir.org [192.150.187.36]) by hub.freebsd.org (Postfix) with ESMTP id 5EF8237B416 for ; Mon, 1 Apr 2002 09:59:38 -0800 (PST) Received: (from rizzo@localhost) by iguana.icir.org (8.11.6/8.11.3) id g31HxQm75058; Mon, 1 Apr 2002 09:59:26 -0800 (PST) (envelope-from rizzo) Date: Mon, 1 Apr 2002 09:59:26 -0800 From: Luigi Rizzo To: Maxim Konovalov Cc: Dmitry Konyshev , freebsd-hackers@FreeBSD.ORG Subject: Re: finding out boot device Message-ID: <20020401095926.A72891@iguana.icir.org> References: <84434325847.20020401203442@agava.com> <20020401210852.C76466-100000@news1.macomnet.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020401210852.C76466-100000@news1.macomnet.ru> User-Agent: Mutt/1.3.23i Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Mon, Apr 01, 2002 at 09:11:03PM +0400, Maxim Konovalov wrote: ... > > Could anyone please tell me if there's any way to find out which > > device the system booted from in a user application. The loader ... > In recent -current we have sysctl machdep.guessed_bootdev. recently merged to -stable as well. cheers luigi To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message