Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Wed, 13 Feb 2002 11:23:25 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Wed, 13 Feb 2002 11:23:16 -0500 Received: from chaos.analogic.com ([204.178.40.224]:26757 "EHLO chaos.analogic.com") by vger.kernel.org with ESMTP id ; Wed, 13 Feb 2002 11:23:00 -0500 Date: Wed, 13 Feb 2002 11:25:09 -0500 (EST) From: "Richard B. Johnson" Reply-To: root@chaos.analogic.com To: Horst von Brand cc: Daniel Phillips , Bill Davidsen , linux-kernel@vger.kernel.org Subject: Re: How to check the kernel compile options ? In-Reply-To: <200202131419.g1DEJeUJ001359@tigger.cs.uni-dortmund.de> Message-ID: MIME-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="1678434306-693191476-1013617509=:17207" Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. Send mail to mime@docserver.cac.washington.edu for more info. --1678434306-693191476-1013617509=:17207 Content-Type: TEXT/PLAIN; charset=US-ASCII On Wed, 13 Feb 2002, Horst von Brand wrote: > Daniel Phillips said: > > On February 12, 2002 05:38 pm, Bill Davidsen wrote: > > [...] [SNIPPED...] My idea is to take the .config file and remove most of its redundancy and unnecessary verbage. Then, the result is compressed and written to a constant global array, linked into the kernel. Both the array and the array length will then be available from /proc/kcore for user-mode tools to recreate the .config file. Here are tools and a test/documentation script that shows it will work. The .config on my machine generates a 1730 byte array. This is certainly small enough to not be considered bloat. The advantage, of course is that if you are executing the kernel, it can give you all the information necessary to recreate a new one from the sources because its .config is embeded into itself. Once you have the ".config" file, you just do `make oldconfig` and you are home free. Cheers, Dick Johnson Penguin : Linux version 2.4.1 on an i686 machine (797.90 BogoMips). I was going to compile a list of innovations that could be attributed to Microsoft. Once I realized that Ctrl-Alt-Del was handled in the BIOS, I found that there aren't any. --1678434306-693191476-1013617509=:17207 Content-Type: APPLICATION/octet-stream; name="config.tar.gz" Content-Transfer-Encoding: BASE64 Content-ID: Content-Description: H4sIAEWRajwAA+1ae1PbSBLPv+hTdMwSJOKH/AD2wqMuIZDjisAWC5VcAeWV pbGtQ57xSXIMIXz3654ZPfyC5PZI6i7qpLA1munu6ceof225gnf9Xu3ZUxK0 7M31dXgGRPbUp76AzVazsV63WxtNgLrdrNefwfqTaqVpFMVOCPAsFCJ+aN5j 9/9HyVX+f+9cs64fsCeRUbftjVZrsf9brU3tf3T/egP937CbG8/AfhJtpugn 9//e3g70XBcqH5wggMpJwzAM/PZqSQUGDDAwnDB0bsGuqiHDUJ+vlvScqmss Lf1i7u1ZUBGg16W3jJTDq6X06+SSTEZ+gpEInNUFF0d98NhAVKM+6hMwh78y lsIBVLowo/haVUDMopiFEItrxqu9z8DZmD7UtdvtyQH8vDSWErEgAi/dxY92 05ORzv9ko08i45H8bzXt9ST/N9cbKv8bzSL/vwfV1gxYQyec9f0IQsyoTyyC SAwYXngj7jncvS2Dwz2IRp2I/WvEeHCL96JY4B/w4zJ0QzFQTEq1URTWotCt BT4f3dR0JlVL6vZeyJyYeejeysH+m0rDttHXcOq7fSf04E0V/i76PBJcx0X4 T3X5V4c7gej5LrLTgk4ZpnyErFBDTOt3vx3heA2PrmWfu8HIY7AdxZ4vqv3d yaHA70yOsTDk09Nuo1rX5XEwvTr0eY/G6ACMYiC15WlzcbVT2js5Pjh81y5t GYbPYzx9fG7SFyfsRWU1dQ2/f7q4snDKsodPW87gzflB+2j/GOwbzBE7Hd4/ PT05/d2MLLg07mCaLg362x2iOnHXxE3hHspQ2g9DEUpnQEBMVjx0DT7SYYUU oNOdvpgrkXXJS2XNJaF2++jweL/dLrfbB4dH9AWllwH3zIitKc1kWVuzutyn Wn8EM/I/M9E1ySh4skPdetwaxp1URI4FThRfSFtcbclR0gXWfN6mjZRhTYxi +XUrW7PWGXXzl+4Q57GhGvK7JomEbWhacuAu3fWM/c4jp8deXfIVnO5zkrIL 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DIMR9Zto9eQzU7Kh+EFUFOV6Y6oZlrn7UOPJbIbP VZ4RvHaFJ40rzeDHVQxxeunHpddvMqeLiXdeXBS8C7/cUdLfY0Bsb8P+ycHD oHkeQJ5Aw+wmRlNP7VGFGtUGWzMTZIWqJlxcbWUA0dJVHQ10Pf0gT7FLSb3g U3oYvCRFrixmZCUj5ZRzCiUQQBYRaQWRrxDIJrk3qNJ3jTLD5QxsqHeU0nsq VD+QApHuZpT1y0nl7AyRIebzzLeZ2+VSGdQqDv2kE5rFQXL4UM4r3ZTU/Zth 0l+Vy+ShkjI+527+XCQJ+mwccXk6Ju9Q7SbvTiWHL8cTKaZgc+Sq/DOAqkQW BNRoSob7mKb5s1ivTpTqOO418aJME6Hf87kT5B4IWnTG7kYzOhLiGhyVoR2G yzgmbsnoI4LJ3mSbncq4VzIw1YLc624/+hFdUEEFFVRQQQUVVFBBBRVUUEEF FVRQQQUVVFBBBRVUUEEFFVRQQQUVVFBBBRU0l/4NfnkeEABQAAA= --1678434306-693191476-1013617509=:17207-- - 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/