Mike Partyka wrote:

>coredump:~ # /boot/config-`uname -r`
>bash: /boot/config-2.4.21-192-default: Permission denied

As others have mentioned, this is text file which can be examined via
less, more, view, emacs, etc.

However, not all distributions provide this file, in this location at
least.

A better way to provide the same information is the gzip compressed text
file /proc/config.gz and in older kernels the uncompressed /proc/config.
However, the kernel option CONFIG_PROC_CONFIG must be selected for the
kernel one is running for this to work.  SuSE has this kernel option
selected by default.  All distributions should use it, except maybe
embedded Linux where kernel memory usage can be a critical concern.

/proc/config.gz is built by (actually part of) the running kernel, so
there can be little doubt that it is the correct kernel configuration.
This is especially useful for people building and testing multiple
kernels.

If CONFIG_PROC_CONFIG is selected, /proc/config.gz is available via:

% zcat /proc/config.gz
% zcat /proc/config.gz | less
% zcat /proc/config.gz | grep CONFIG_<function>
% gunzip -c /proc/config.gz
% gunzip -c /proc/config.gz | less
% gunzip -c /proc/config.gz | grep CONFIG_<function>

Sincerely,

Ken Fuchs <kfuchs at winternet.com>

_______________________________________________
TCLUG Mailing List - Minneapolis/St. Paul, Minnesota
http://www.mn-linux.org tclug-list at mn-linux.org
https://mailman.real-time.com/mailman/listinfo/tclug-list