RE: A question on System.map (for the FAQ please)

Jones D (djones2@glam.ac.uk)
Tue, 5 Oct 1999 14:19:29 +0100


> /boot/System.map has an incorrect kernel version. :-)
> That file is a kind of database that must be kept consistant
> with the kernel you are currently running.
>
> This is of course difficult to do when you run multiple versions
> of the same kernel. I'd be very happy to spend 80 kB of kernel
> memory on a reliable answer, especially when considering just how
> big an uncompressed kernel is already. Oh well.

Ugh, what a waste of kernel space.
This can be done just as well from userspace..
After you've made a kernel..

mv System.map /boot/System.map-`uname -r`

And edit the script which is starting syslog so that just before
it starts the deamon it it says..

ln -sf /boot/System.map-`uname -r` /boot/System.map

regards,

Dave.

-
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/