Re: system.map

From: Albert D. Cahalan (acahalan@cs.uml.edu)
Date: Wed Jan 02 2002 - 16:17:30 EST


Keith Owens writes:

> 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}.

That's not a nice place. Besides the fact that System.map is
neither library nor module, /lib/modules is less likely to
exist than /boot is. It's a wee bit slower too.

The System.map file contains info related only to the main kernel
image, and nothing related to modules. So this is better:

/boot/System.map-2.4.18-pre1
/boot/vmlinuz-2.4.18-pre1
/boot/bzImage-2.4.18-pre1
/boot/config-2.4.18-pre1

(losing the foul '.' on the .config file)
-
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/



This archive was generated by hypermail 2b29 : Mon Jan 07 2002 - 21:00:18 EST