Gerald Timothy Quimpo <[EMAIL PROTECTED]> writes:

> On Tue, 2007-09-18 at 16:50 +0800, Ramil Galib wrote:
>> Is there a way to autogenerate a .config file based on the currently
>> loaded modules?
>
> I don't know.  At some point, some distros had their configs in /proc.
> This was a tgz file in /proc that you would un-tgz somewhere and then
> you could copy it to where you kernel source was so you could configure
> just the pieces you needed to (the rest being taken from the config).

FYI: This isn't distro specific, but is a kernel knob instead. The file
is /proc/config.gz, and the relevant kernel option is
CONFIG_PROC_CONFIG.

> I don't see that in my current ubuntu /proc though

I don't know why it's not used, but in any case: on Ubuntu, the config
for the kernel is in /boot at /boot/config-`uname -r`


-- 
JM Ibanez
Software Architect
Orange & Bronze Software Labs, Ltd. Co.

[EMAIL PROTECTED]
http://software.orangeandbronze.com/
_________________________________________________
Philippine Linux Users' Group (PLUG) Mailing List
[email protected] (#PLUG @ irc.free.net.ph)
Read the Guidelines: http://linux.org.ph/lists
Searchable Archives: http://archives.free.net.ph

Reply via email to