From owner-freebsd-ports@FreeBSD.ORG Sun Jun 17 07:06:14 2007 Return-Path: X-Original-To: ports@FreeBSD.org Delivered-To: freebsd-ports@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id EFF6D16A468 for ; Sun, 17 Jun 2007 07:06:14 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from harmony.bsdimp.com (bsdimp.com [199.45.160.85]) by mx1.freebsd.org (Postfix) with ESMTP id ADAD113C44B for ; Sun, 17 Jun 2007 07:06:14 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from localhost (localhost [127.0.0.1]) by harmony.bsdimp.com (8.13.8/8.13.4) with ESMTP id l5H75WRh034203; Sun, 17 Jun 2007 01:05:32 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Sun, 17 Jun 2007 01:06:02 -0600 (MDT) Message-Id: <20070617.010602.-1665079792.imp@bsdimp.com> To: kris@obsecurity.org From: "M. Warner Losh" In-Reply-To: <20070617063947.GA37981@rot13.obsecurity.org> References: <20070617062257.GA30965@soaustin.net> <20070617062819.GA37478@rot13.obsecurity.org> <20070617063947.GA37981@rot13.obsecurity.org> X-Mailer: Mew version 5.2 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.0 (harmony.bsdimp.com [127.0.0.1]); Sun, 17 Jun 2007 01:05:32 -0600 (MDT) Cc: ports@FreeBSD.org, linimon@lonesome.com, LoN_Kamikaze@gmx.de Subject: Re: How to get a list of all kernel modules X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 17 Jun 2007 07:06:15 -0000 In message: <20070617063947.GA37981@rot13.obsecurity.org> Kris Kennaway 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