[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"; }
_______________________________________________
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to