lkml.org 
[lkml]   [2001]   [Apr]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: /proc/config idea

I see benefit in having the .config file in the kernel. It being a non
loadable elf section would be a plus. However I also see merit to having
it available as a proc entry.

Say that we decide to go with /proc/config. In that case I think that
Jeremy is right on with the compressing of the info.

linux-2.4.3# cat .config | grep ^CONFIG_ | wc -c
2885

linux-2.4.3# cat .config | grep ^CONFIG_ | gzip | wc -c
874

While 3k is not a lot, >1k would be even better. The /proc/config could
just unzip the compressed config stored in the kernel on the fly.

This would reduce the 'bloat'. Of course this functionality would be
configurable and maybe off by default. Although if it's not available on a
default kernel of distribution X, Y and Z there is little merit in it as
install scripts for 3rd party drivers could not reliably use it.

Cheers,
Bart.

--
WebSig: http://www.jukie.net/~bart/sig/


-
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: 2005-03-22 13:17    [W:0.091 / U:0.880 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site