lkml.org 
[lkml]   [2006]   [May]   [25]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: How to check if kernel sources are installed on a system?
FromMåns_Rullgård <>
DateFri, 26 May 2006 01:24:18 +0100
Diego Calleja <diegocg@gmail.com> writes:

> El Thu, 25 May 2006 18:29:22 -0400,
> Lee Revell <rlrevell@joe-job.com> 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@inprovide.com
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2006-05-26 00:27    [from the cache]
©2003-2008