Re: system.map

Keith Owens
2002-01-02T20:55:45Z

On Wed, 2 Jan 2002 13:26:29 -0600,
Timothy Covell <timothy.covell@ashavan.org> wrote:
> Of course, you can copy over the new System.map
>file to /boot, but their is no (easy) way of having more than
>one active version via "lilo" or "grub". And that could be
>considered a deficiency of the Linux OS.

Current versions of ps look for System.map in

$PS_SYSTEM_MAP
/boot/System.map-`uname -r`
/boot/System.map
/lib/modules/`uname -r`/System.map
/usr/src/linux/System.map
/System.map

Copy System.map to /lib/modules/`uname -r`/System.map after make
modules_install, remove any old map files from /boot and / and you
don't need any symlink or bootloader tricks.

The 2.5 kernel build asks if you want to install System.map and
.config. If you say yes then the default location for these files in
2.5 is /lib/modules/`uname -r`/{System.map,.config}.