Re: How to check the kernel compile options ?

From: Daniel Phillips (phillips@bonn-fries.net)
Date: Mon Feb 04 2002 - 13:05:41 EST


On February 4, 2002 06:16 pm, Allan Sandfeld wrote:
> On Monday 04 February 2002 18:12, David Balazic wrote:
> > Alan Cox wrote:
> > > > > > How can I figure out in 5 minutes, without a kernel hacker, if
> > > > > > my linux system has the correct settings ?
> > > > >
> > > > > Use the vendor supplied kernels ?
> > > >
> > > > Yes, I am using them.
> > > > Now back to my question, how do I found out if option X is set or not ?
> > >
> > > Check the vendor supplied source package ?
> >
> > Part of the question was "in 5 minutes". Finding the install CD,
> > installing the source package, "checking" it... are more than 5 minutes.
> > Compared to checking out the kernel parameters on HP-UX, for example.
>
> What he is saying is that you can't do that, generically. Some options are
> available at runtime through /proc, but most are not. You need to check what
> happend back at compile time.

Right, there is a religious issue here: some core kernel hackers believe
that it is wrong to encode kernel configuration in the kernel, and that
is why it's not available. Technically it is not difficult, nor is it
difficult to make it memory-efficient.

-- 
Daniel
-
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/



This archive was generated by hypermail 2b29 : Thu Feb 07 2002 - 21:00:35 EST