From owner-freebsd-hackers Mon Apr 1 8:31:46 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from relay2.agava.net.ru (ofc.agava.net [195.161.118.6]) by hub.freebsd.org (Postfix) with ESMTP id DA0EE37B41A for ; Mon, 1 Apr 2002 08:31:34 -0800 (PST) Received: from daemon.domain (daemon.domain [192.168.1.7]) by relay2.agava.net.ru (Postfix) with ESMTP id C11A866BE0 for ; Mon, 1 Apr 2002 20:31:28 +0400 (MSD) Date: Mon, 1 Apr 2002 20:34:42 +0400 From: Dmitry Konyshev X-Mailer: The Bat! (v1.53) Reply-To: Dmitry Konyshev Organization: AGAVA X-Priority: 3 (Normal) Message-ID: <84434325847.20020401203442@agava.com> To: freebsd-hackers@FreeBSD.ORG Subject: finding out boot device MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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 Hello hackers, 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 sets loaddev and currdev vars, but I see no way to transfer them to the user environment. -- Best regards, Dmitry mailto:daemon@agava.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message