You are not logged in.

#1 2009-02-22 03:18:04

ConnorBehan
Package Maintainer (PM)
From: Long Island NY
Registered: 2007-07-05
Posts: 1,359
Website

Does such a tool exist?

When creating a minimal kernel build it would be quite convenient if I could look at the modules I'm using and know immediately what kernel CONFIGs they correspond to. Is there a tool that can look at your lsmod and generate a config file from that assuming that the modules you have loaded at the moment are the only ones you'll ever need?

You could give it a config file like the stock Arch one and it would find all the "m"s and change them all to "n"s unless they correspond to a module you are using. For the modules you're using that aren't in the config file like iptables it could give a warning. This sounds really useful. Is there some program that does this? Thanks.


6EA3 F3F3 B908 2632 A9CB E931 D53A 0445 B47A 0DAB
Great things come in tar.xz packages.

Offline

#2 2009-02-22 09:32:31

Army
Member
Registered: 2007-12-07
Posts: 1,784

Re: Does such a tool exist?

In the AUR there's a package called autokernconf, maybe that's kind of what you are searching for.

Offline

Board footer

Powered by FluxBB