From owner-freebsd-hackers Thu Oct 24 15:59: 8 2002 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 A7EE837B401 for ; Thu, 24 Oct 2002 15:59:07 -0700 (PDT) Received: from harmony.village.org (rover.bsdimp.com [204.144.255.66]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5BCC343E6E for ; Thu, 24 Oct 2002 15:59:03 -0700 (PDT) (envelope-from imp@bsdimp.com) Received: from localhost (warner@rover2.village.org [10.0.0.1]) by harmony.village.org (8.12.3/8.12.3) with ESMTP id g9OMwqpk000719; Thu, 24 Oct 2002 16:58:58 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Thu, 24 Oct 2002 16:57:30 -0600 (MDT) Message-Id: <20021024.165730.20755734.imp@bsdimp.com> To: reichert@numachi.com Cc: hackers@FreeBSD.ORG Subject: Re: RFC: standardize device probe messages? From: "M. Warner Losh" In-Reply-To: <20021024145653.E22898@numachi.com> References: <20021024145653.E22898@numachi.com> X-Mailer: Mew version 2.1 on Emacs 21.2 / Mule 5.0 (SAKAKI) 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 In message: <20021024145653.E22898@numachi.com> Brian Reichert writes: : I'm poking at a little project that will get me 'System Info' a la : the Microsoft experience. Look at the stuff I'm adding to the devinfo interface. : Simply enough, it just scans '/var/log/dmesg.today' for device info : from the last boot. The resulting data can obviously be browsed : in all sorts of useful ways. That's bogus. My /var/log/dmesg.today is full of crap saying that certain ports can't be connected to. : Would people feel that this is a useful endeavor? I'd be happy to : spearhead such an effort, but I don't want to waste my time if these : proposed conventions aren't carried forward. I'm not sure how useful it would be. Better to flesh out the location info and pnp info that I added an interface to, but haven't implemented on all busses yet. : Essentially, I need to treat the output of dmesg (WRT device probes) : as a database, and I want a schema for that database. That's a bad idea. devinfo(3) is made for this. Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message