Re: /proc/config idea

From: Bart Trojanowski (bart@jukie.net)
Date: Mon Apr 02 2001 - 10:28:40 EST


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/



This archive was generated by hypermail 2b29 : Sat Apr 07 2001 - 21:00:10 EST