[Gbootroot-devel] Reading Kernel Configurations
Brought to you by:
freesource
From: Jonathan R. <mtt...@ac...> - 2000-08-22 19:58:05
|
On Sun, 20 Aug 2000, Cristian Ionescu-Idbohrn wrote: > Another thing I've been thinking of is the following: > > Do you know of any way to find out if a kernel image has support for > > CONFIG_BLK_DEV_RAM=y > CONFIG_BLK_DEV_RAM_SIZE=4096 > CONFIG_BLK_DEV_INITRD=y > > by just analyzing the image. One could probably not expect a newbie to > know how that correlates with the ability to use such a tool like > gBootRoot. Nevertheless, a tool like this might help a newbie to get out > of a troublesom situation. If you look at /usr/src/linux/README there is a section which explains how you can use nm to look at linux/vmlinux, but the existence of this file and it's correlation to the chosen kernel can't be assumed. It would be easier just to look at .config, but again this is speculative. I suppose there is a way of finding this out, and I am open to suggestions. Good question. |