Date: Sun, 17 Jun 2007 01:06:02 -0600 (MDT) From: "M. Warner Losh" <imp@bsdimp.com> To: kris@obsecurity.org Cc: ports@FreeBSD.org, linimon@lonesome.com, LoN_Kamikaze@gmx.de Subject: Re: How to get a list of all kernel modules Message-ID: <20070617.010602.-1665079792.imp@bsdimp.com> In-Reply-To: <20070617063947.GA37981@rot13.obsecurity.org> References: <20070617062257.GA30965@soaustin.net> <20070617062819.GA37478@rot13.obsecurity.org> <20070617063947.GA37981@rot13.obsecurity.org>
next in thread | previous in thread | raw e-mail | index | archive | help
In message: <20070617063947.GA37981@rot13.obsecurity.org> Kris Kennaway <kris@obsecurity.org> writes: : On Sun, Jun 17, 2007 at 02:28:19AM -0400, Kris Kennaway wrote: : > On Sun, Jun 17, 2007 at 01:22:57AM -0500, Mark Linimon wrote: : > > On Sun, Jun 17, 2007 at 12:15:16AM -0600, M. Warner Losh wrote: : > > > I want a list of all the ports in /usr/ports that install kernel modules. : > > : > > IIRC they're all in misc/. Let me see if I can come up with a quick list. : > : > Nope, but I'm grepping for them now. : : Partial list: : : Binary file ./linux-kmod-compat-20070326.tbz matches : Binary file ./biosfont-1.1.tbz matches : Binary file ./iwi-firmware-2.4_7.tbz matches : Binary file ./ipw-firmware-1.3_8.tbz matches : Binary file ./linux-js-2.2.tbz matches : Binary file ./kqemu-kmod-1.3.0.p11.tbz matches : Binary file ./ltmdm-1.4_18.tbz matches : : This is from 6.x, and I know there are others, so a more complete grep : will be needed. Grepping for '\.ko$' does fairly well at coming up with a good list. However, there are a few interesting false positives: ./editors/emacs/pkg-plist ./editors/emacs-devel/pkg-plist ./editors/emacs20/pkg-plist ./editors/xemacs/pkg-plist ./editors/xemacs-devel/pkg-plist ./editors/xemacs-devel-mule/pkg-plist ./editors/xemacs21-mule/pkg-plist ./editors/emacs.app/pkg-plist ./korean/hlatex/pkg-plist ./korean/msdosfs/pkg-plist ./korean/pgp.language/pkg-plist ./korean/texinfo/pkg-plist All of these because there are files that I think are in korean with a .ko suffix. and there's only one in misc: ./misc/zaptel/pkg-plist which lists a bunch of .ko's installed into /usr/local/lib/zaptel that turn out to be kernel drivers, but no mention of "/boot" at all. Warner
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070617.010602.-1665079792.imp>