<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"><html><head><meta name="qrichtext" content="1" /><style type="text/css">p, li { white-space: pre-wrap; }</style></head><body style=" font-family:'Arial'; font-size:10pt; font-weight:400; font-style:normal;">I'd say your best bet would be using this:<br>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><br></p>for X in $(lsmod | awk '{ print $1 }') ; do  grep ^CONFIG_$X -i /boot/config-$(uname -r) ; done<br>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><br></p>It's not perfect, but it's a start.<br>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><br></p><p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><br></p>On Wednesday 20 May 2009 02:29:13 pm Kevin Fries wrote:<br>
&gt; For those of you on both lists, sorry for the cross post, but this is an esoteric enough question, I need to broaden my net if I ever want to have a chance of finding the answer.<br>
&gt; <br>
&gt; Doe anyone know if there is a way to have the kernel dump its currently running configuration in a way that I can pump that into a kernel compile to have the kernel support all the equipment on my current machine, and only the parts of my current machine?<br>
&gt; <br>
&gt; I want a kernel compile that is the smallest possible kernel without breaking anything that is installed and configured for my current machine.<br>
&gt; <br>
&gt; Any hints?<br>
&gt; <br>
&gt; Thxs<br>
&gt; <br>
&gt; Kevin Fries<br>
&gt; Senior Linux Engineer<br>
&gt; Computer and Communications Technology, Inc<br>
&gt; A division of Japan Communications Inc<br>
&gt; (303) 708-9228 x326<br>
&gt; _______________________________________________<br>
&gt; clue-announce mailing list<br>
&gt; clue-announce@cluedenver.org<br>
&gt; http://www.cluedenver.org/mailman/listinfo/clue-announce<br>
&gt; <br>
&gt; <br>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><br></p></body></html>