How to get a list of all kernel modules

Edwin Groothuis edwin at mavetju.org
Sat Jun 30 00:45:39 UTC 2007


On Tue, Jun 26, 2007 at 08:26:09AM +1000, Edwin Groothuis wrote:
> On Mon, Jun 18, 2007 at 10:33:29AM +1000, Edwin Groothuis wrote:
> > On Sun, Jun 17, 2007 at 01:36:40AM -0600, M. Warner Losh wrote:
> > > In message: <20070617072945.GE1325 at k7.mavetju>
> > >             Edwin Groothuis <edwin at mavetju.org> writes:
> > > : On Sun, Jun 17, 2007 at 09:18:55AM +0200, [LoN]Kamikaze wrote:
> > > : > M. Warner Losh wrote:
> > > : > > In message: <20070617065457.GB30965 at soaustin.net>
> > > : > >             linimon at lonesome.com (Mark Linimon) writes:
> > > : > > : On Sun, Jun 17, 2007 at 12:42:01AM -0600, M. Warner Losh wrote:
> > > : > > : > I'd kinda hoped there was a pseudo category that I could key off of.
> > > : > > : 
> > > : > > : Kinda sounds like there should be.
> > > : > > 
> > > : > > That would make grepping the info out of INDEX easy
> > > : >
> > > : > I'm with Mark here, there definitely should be one.
> > > : > 
> > > : > I think it would be best to create it and send a HEADS UP to ports@ or to all
> > > : > maintainers.
> > > : 
> > > : If you decide on a name for the category, I'll send-pr it and ask
> > > : the maintainer of portlint to incoperate a check for it.
> > > 
> > > 'kmod' would be my first choice.  But I don't care as long as I know
> > > what it is.
> > 
> > ports/113802: [patch] add virtual category: kmod
> 
> And TPTB have decided to call it: kld. Currently being tested by Pav

Portmgr works in quiet ways: Last thursday they commited the code
to bsd.port.mk, and linimon@ updated a lot of the ports with the
additional category. I will see if I can make an entry in the Porters
Handbook for it, and then make an USE_KLD flag which installs the
module and runs kldxref etc.

Edwin
-- 
Edwin Groothuis      |            Personal website: http://www.mavetju.org
edwin at mavetju.org    |              Weblog: http://www.mavetju.org/weblog/


More information about the freebsd-ports mailing list