From owner-freebsd-current Wed Aug 11 8:40:46 1999 Delivered-To: freebsd-current@freebsd.org Received: from sasami.jurai.net (sasami.jurai.net [63.67.141.99]) by hub.freebsd.org (Postfix) with ESMTP id B348214BDD; Wed, 11 Aug 1999 08:40:39 -0700 (PDT) (envelope-from winter@jurai.net) Received: from localhost (winter@localhost) by sasami.jurai.net (8.8.8/8.8.7) with ESMTP id LAA01185; Wed, 11 Aug 1999 11:34:57 -0400 (EDT) Date: Wed, 11 Aug 1999 11:34:56 -0400 (EDT) From: "Matthew N. Dodd" To: Warner Losh Cc: Peter Wemm , Cameron Grant , multimedia@FreeBSD.ORG, current@FreeBSD.ORG Subject: Re: it's time... In-Reply-To: <199908101820.MAA13330@harmony.village.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Tue, 10 Aug 1999, Warner Losh wrote: > I'd be very careful of line wrapping probe messages. I have scripts > that rely on them being on one line to get a list of irqs, etc. I would consider information from the kernel probe/attach to be useful only for humans. An interface to query the resource manager directly is likely to be a better solution to your problem. Besides, if your perl skills aren't able to cope with getting all 'fooX:' lines, and stripping out the 'fooX:' bits before parsing then you have other problems. > However, the whole issue of how probe messages should print, and how > much is a religious war that I try to steer clear of... Correct, but the nature of the kernel probe/attach messages is to convey information in a readable, consistent, useful manner. If we didn't want pretty line wrapping we'd all be using linux and have stupid stuff like copyright messages as well. :) At some point all of the boot messages should be wrapped by 'if (bootverbose) { ... }' anyway. -- | Matthew N. Dodd | '78 Datsun 280Z | '75 Volvo 164E | FreeBSD/NetBSD | | winter@jurai.net | 2 x '84 Volvo 245DL | ix86,sparc,pmax | | http://www.jurai.net/~winter | This Space For Rent | ISO8802.5 4ever | To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message