Re: System.map

From: H. Peter Anvin (hpa@zytor.com)
Date: Fri Jun 16 2000 - 18:38:17 EST


Followup to: <39493DC6.2602BD14@kalifornia.com>
By author: David Ford <david@kalifornia.com>
In newsgroup: linux.dev.kernel
>
> The 'right' system map file can be named /boot/System.map-$(uname -r)
>
> And all programs that use System.map that I know of will search for this file
> before they search for /boot/System.map, but of course I don't use one of
> those distros that barfs big chunks all over the screen on boot if the
> System.map it finds doesn't match the kernel version, so I could be missing a
> program or two =]
>

It's somewhat unfortunate that this is in /boot, since it isn't a file
requiring for booting. /boot is often a very small filesystem.

Modules, which also are kernel-specific, live in /lib/modules/`uname -r`.
It would be better if System.map could live in a location like that;
either /lib/modules or we should introduce a new /lib/kernel.

        -hpa

-- 
<hpa@transmeta.com> at work, <hpa@zytor.com> in private!
"Unix gives you enough rope to shoot yourself in the foot."
http://www.zytor.com/~hpa/puzzle.txt

- 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 : Fri Jun 23 2000 - 21:00:13 EST