Re: config procfs patch

david parsons (o.r.c@p.e.l.l.p.o.r.t.l.a.n.d.o.r.u.s)
24 May 1997 11:10:45 -0700


In article <linux.kernel.udlk9kpvlyg.fsf@tux.mit.edu>,
Aaron M. Ucko <amu@mit.edu> wrote:
>"Nicholas J. Leon" <nicholas@binary9.net> writes:
>
>> On 23 May 1997, Tom May wrote:
>>
>> # > The attached patch adds
>> # > a build option for incorporating the settings in .config
>> # > into the kernel as a file in /proc.
>> #
>> # This is the third time I've seen a patch to do this go by, they've all
>> # gotten shot down, but I can never remember why . . . I guess I'll find
>> # out all over again.
>>
>> I thought it was because on some heavily configured systems, the resultant
>> file would be over 4K in size [which is the largest size a /proc entry can
>> have, right??]
>
>Nope; /proc/kcore (admittedly a special case) is much more than that,
>and /proc/ksyms is currently 37009 characters on my system. Unless
>I'm mistaken, the reason is that it would be redundant; you should
>already have the .config.

One place I can see this breaking badly is where you do kernel builds
on one machine and then install these kernels on other machines (I
do this) or where you have a collection of different kernels that
you boot on one machine with differing capacities (I do this, too.)

____
david parsons \bi/ orc@pell.chi.il.us
\/