Re: How to check if kernel sources are installed on a system?

From: Måns Rullgård
Date: Thu May 25 2006 - 20:24:14 EST


Diego Calleja <diegocg@xxxxxxxxx> writes:

> El Thu, 25 May 2006 18:29:22 -0400,
> Lee Revell <rlrevell@xxxxxxxxxxx> escribió:
>
>> I'd really like to see a distro-agnostic way to retrieve the kernel
>> configuration. /proc/config.gz has existed for soem time but many
>> distros inexplicably don't enable it.
>
> /proc/config.gz takes a bit of memory, and wasting such memory when

Yes, 9k on my machine.

> you can store the config at /boot/config-`uname -r` is a bit weird.

There's no guaranteeing that file will match the running kernel. Then
again, modules can be changed without /proc/config.gz changing.

--
Måns Rullgård
mru@xxxxxxxxxxxxx
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/