Re: A couple "normal user" questions..

Raja R Harinath (harinath@cs.umn.edu)
31 Jan 1997 13:09:23 -0600


Philip Blundell <pjb27@cam.ac.uk> writes:
> On Thu, 30 Jan 1997, Aaron Tiensivu wrote:
[snip]
> > /proc/config
[snip]
> I don't really think this would be worthwhile. You don't need to know at
> runtime. If you want to do this, devise some scheme to embed information
> into the kernel image with minimal overhead, and provide some program so
> that you can say
>
> $ printconfig ./vmlinuz
>
> and it will tell you how the kernel in question was compiled.

Craig Milo Rogers <rogers@ISI.EDU> writes:
> Another possibility, I suppose, would be to slip the .config
> info into System.map somehow. I think that I would prefer it in the
> kernel itself, however, to ensure maximum avialability when running
> comparison tests on several kernels.

A new ELF section `.config', then.

- Hari

-- 
Raja R Harinath ------------------------------ harinath@cs.umn.edu
"When all else fails, read the instructions."      -- Cahn's Axiom
"Our policy is, when in doubt, do the right thing."   -- Roy L Ash