Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 28 Feb 2008 15:03:28 +0100
From:      Pieter de Goeje <pieter@degoeje.nl>
To:        freebsd-hackers@freebsd.org
Cc:        Adrian Chadd <adrian@freebsd.org>, hackers@freebsd.org
Subject:   Re: Modular type GENERIC?
Message-ID:  <200802281503.28615.pieter@degoeje.nl>
In-Reply-To: <d763ac660802272250v260a15f3v11a9dbbf4618ae1f@mail.gmail.com>
References:  <d763ac660802240226s250964efv1fd002196a90c110@mail.gmail.com> <20080228064417.GA98258@dragon.NUXI.org> <d763ac660802272250v260a15f3v11a9dbbf4618ae1f@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thursday 28 February 2008, Adrian Chadd wrote:
> On 28/02/2008, David O'Brien <obrien@freebsd.org> wrote:
> > On Thu, Feb 28, 2008 at 03:26:55PM +0900, Adrian Chadd wrote:
> >  > Is there some sane-ish way of auto-generating a list of modules given
> >  > a config file? The "device" statements don't match up with the module
> >  > name in all bar 4 or 5 places. Is there some chain of files I can
> >  > munge to match things up?
> >
> > Not that I know of. :-(
>
> Crap. I may have to hand-massage something together just for testing then.
>
>
>
> Adrian

How about:

cd /boot/kernel; ls *.ko | sed 's/\.ko/_load="YES"/'

I think you still want to remove some modules by hand, for example snd_driver.

-- 
Pieter de Goeje




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200802281503.28615.pieter>