Date: Sun, 17 Jun 2007 08:01:37 +0200 From: "[LoN]Kamikaze" <LoN_Kamikaze@gmx.de> To: "M. Warner Losh" <imp@bsdimp.com> Cc: ports@FreeBSD.org Subject: Re: How to get a list of all kernel modules Message-ID: <4674CE41.7000103@gmx.de> In-Reply-To: <4674C9F6.60508@gmx.de> References: <20070616.213319.-1889956458.imp@bsdimp.com> <4674C9F6.60508@gmx.de>
next in thread | previous in thread | raw e-mail | index | archive | help
[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"; }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4674CE41.7000103>