From owner-freebsd-arch Tue Oct 16 13: 9:10 2001 Delivered-To: freebsd-arch@freebsd.org Received: from fledge.watson.org (fledge.watson.org [204.156.12.50]) by hub.freebsd.org (Postfix) with ESMTP id 8582A37B405 for ; Tue, 16 Oct 2001 13:09:07 -0700 (PDT) Received: from fledge.watson.org (robert@fledge.pr.watson.org [192.0.2.3]) by fledge.watson.org (8.11.6/8.11.5) with SMTP id f9GK8rB17954; Tue, 16 Oct 2001 16:08:54 -0400 (EDT) (envelope-from robert@fledge.watson.org) Date: Tue, 16 Oct 2001 16:08:52 -0400 (EDT) From: Robert Watson X-Sender: robert@fledge.watson.org To: Peter Wemm Cc: Luigi Rizzo , arch@FreeBSD.ORG Subject: Re: exporting device info via sysctl ? In-Reply-To: <20011015051637.C7581380F@overcee.netplex.com.au> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sun, 14 Oct 2001, Peter Wemm wrote: > Luigi Rizzo wrote: > > I seem to remember a discussion from some time ago about exporting > > device information via sysctl. Given that now there has been > > dynamic sysctl support for a while, the thing would be feasible > > (e.g. dynamically creating an hw. subtree), > > and possibly useful to get/set some more info on devices. > > > > Has there been any followup on this ? Would people be happy > > to have them ? > > Check out /usr/sbin/devinfo and devinfo(3).. Spiffy, I didn't know about that. However, the devinfo command appears not to have a man page. Would be nice if it could also export a string on what exactly the device is--dmesg is pretty bad for this sort of thing, and devinfo looks a lot better :-). Robert N M Watson FreeBSD Core Team, TrustedBSD Project robert@fledge.watson.org NAI Labs, Safeport Network Services To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message