Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 11 Aug 1999 11:34:56 -0400 (EDT)
From:      "Matthew N. Dodd" <winter@jurai.net>
To:        Warner Losh <imp@village.org>
Cc:        Peter Wemm <peter@netplex.com.au>, Cameron Grant <gandalf@vilnya.demon.co.uk>, multimedia@FreeBSD.ORG, current@FreeBSD.ORG
Subject:   Re: it's time... 
Message-ID:  <Pine.BSF.4.10.9908111129380.14648-100000@sasami.jurai.net>
In-Reply-To: <199908101820.MAA13330@harmony.village.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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-multimedia" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.10.9908111129380.14648-100000>