From owner-freebsd-ports@FreeBSD.ORG Sun Jun 17 06:01:40 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 257FF16A400 for ; Sun, 17 Jun 2007 06:01:40 +0000 (UTC) (envelope-from LoN_Kamikaze@gmx.de) Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by mx1.freebsd.org (Postfix) with SMTP id 7570413C484 for ; Sun, 17 Jun 2007 06:01:39 +0000 (UTC) (envelope-from LoN_Kamikaze@gmx.de) Received: (qmail invoked by alias); 17 Jun 2007 06:01:38 -0000 Received: from nat-wh-1.rz.uni-karlsruhe.de (EHLO mobileKamikaze.norad) [129.13.72.169] by mail.gmx.net (mp010) with SMTP; 17 Jun 2007 08:01:38 +0200 X-Authenticated: #5465401 X-Provags-ID: V01U2FsdGVkX19McQ56iXRM9e0OCztC/fVZdjZBiaH24VzdPlSjdG c55X8ZaZHticUH Message-ID: <4674CE41.7000103@gmx.de> Date: Sun, 17 Jun 2007 08:01:37 +0200 From: "[LoN]Kamikaze" User-Agent: Thunderbird 2.0.0.4 (X11/20070616) MIME-Version: 1.0 To: "M. Warner Losh" References: <20070616.213319.-1889956458.imp@bsdimp.com> <4674C9F6.60508@gmx.de> In-Reply-To: <4674C9F6.60508@gmx.de> X-Enigmail-Version: 0.95.1 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 Cc: ports@FreeBSD.org 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 06:01:40 -0000 [LoN]Kamikaze wrote: > M. Warner Losh wrote: >> Greetings, >> >> is there an easy way to get a list of all the ports that compile >> kernel modules? I'd like to add them to my kernel build. I did this >> once before, but I lost all information on how to do it when I lost my >> laptop's hard disk after the last bsdcan... >> >> Warner > > # find /boot/ -type f -exec pkg_info -W \{} \; Sorry about that, it takes very long. Better is: # sh -c 'for mod in `pkg_info -qaL|grep -E "^/+boot"`; { pkg_info -W "$mod"; }