Re: Building .config into the kernel

Barrett G. Lyon (blyon@netpr.com)
Wed, 13 Jan 1999 16:40:02 -0600


At 11:07 PM 1/14/99 +0100, you wrote:
>"A month of sundays ago Barrett G. Lyon wrote:"
>>
>> Can't you do something like:
>> cat vmlinux | grep "version" | head -1 ; uname -a
>>
>> and match the build numbers? Just use gzcat on machines that use a
>
>Nope. You may well have the image but not the config. I've got kernels
>stretching all the way back to 1.2.13 2.0.0 2.0.25 2.0.30 2.0.33 2.0.36.
>Are you seriously suggesting that i have all their kernel trees, and all
>the configs for each of them, for all the variant images I sprayed
>around the place? Uh uh.

_NO_ I am not suggesting that you keep the trees for all those old kernels.
I am mearly suggesting that if you do have the kernel image stored on
mounted fs, you do have the ability to figure out what kernel you are
booted to.

That just goes to show that

cat .config.in >> zImage

can yeild your dotconfig even if you don't remember what kernel you booted.
There are exceptions, but if you can't keep track of your kernel thats
pretty bad.

-B

--
Barrett G. Lyon                        PGP: www.netpr.com/pgpkeys
Data & Network Security Consultant     Fax: 310-737-0196
Network Presence, LLC                Email: blyon@netpr.com
--

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/