Alan Corey <[email protected]> writes:

> I've just uploaded a small program I wrote for configuring a kernel based on
> the devices found by doing a dmesg with a generic kernel. It tries to detect
> whether you're running a generic kernel by looking at uname output then runs
> dmesg via a pipe, copies over /usr/src/sys/arch/i386/conf/GENERIC line by
> line, commenting out devices it doesn't find in dmesg.  It's only been tested
> with i386, but was written under 5.0 and also tested under 4.7.  I'm running
> both kernels now.  It's very generic C and hopefully has no dependancies.
>
>   Alan
>
>   http://ab1jx.webs.com/calcs/kr/index.html

Expect hatred.  Just doing text processing over the output of dmesg(8)
won't give you the complete list of drivers required to run a machine
properly.  It may work, or it may not, and imho it's just making it
easier for users to shoot themselves in the foot.  For no real good
reason.

-- 
JC)rC)mie CourrC(ges-Anglas
GPG fingerprint: 61DB D9A0 00A4 67CF 2A90 8961 6191 8FBF 06A1 1494

Reply via email to