Re: Mistake found in re-configuring kernel

From: Karen Shaeffer (shaeffer@best.com)
Date: Sat Jul 22 2000 - 00:39:22 EST


On Sat, Jul 22, 2000 at 11:19:21AM +0800, Stephen Liu wrote:

> > cd /usr/src/linux-2.x.x
> > cp -pf System.map /boot/System.map-2.x.x-y.y
>
> Could not find System.map under linux-2.2.14-50. Is it in another location.

/usr/src/linux-2.2.14 if you are referring to the 2.2-14 kernel

> Is there an easy way to make "ntfs" work without going through the whole
> procedure, config, recompile, etc.

I don't work with ntfs.

>
> How to check which option has already been selected in Y/<*> or <M> without
> going through "make menuconfig"

Just look in .config and refer to
/usr/src/linux-2.x.x/Documentation/Configure.help

or, more interestingly

Looking in main.c, one finds <linux/config.h> is included, and looking there
one finds <linux/autoconf.h> is included. Here <linux/*.h> refers to
/usr/include/linux/*.h

<linux/autoconf.h> is automatically generated by menuconfig and defines all
the preprocessor constants to configure the kernel during compilation. Of
course, menuconfig also generates the /usr/src/linux-2.x.x/.config file that
most users refer to in discussing kernel configuration.

So one may refer to <linux/autoconf.h> and
/usr/src/linux-2.x.x/Documentation/Configure.help to see how your kernel has
been configured. This is just the kernel space way to do it.

c,

-- 
 Karen Shaeffer
 Neuralscape; Santa Cruz, Ca. 95060
 shaeffer@neuralscape.com  http://www.neuralscape.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/



This archive was generated by hypermail 2b29 : Sun Jul 23 2000 - 21:00:17 EST