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

Mark H. Wood (mwood@IUPUI.Edu)
Tue, 5 Oct 1999 13:55:55 -0500 (EST)


On 5 Oct 1999, Miquel van Smoorenburg wrote:
> In article <cistron.EB62C0C34246D111A39A00805FA6A85504834D9E@ems2.glam.ac.uk>,
> Jones D (ISaCS) <djones2@glam.ac.uk> wrote:
> >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
>
> Well that shouldn't be necessary. Both "ps" and "klogd" check for
> /boot/System.map-version before checking /boot/System.map by default
> if you have a recent (< 2 years old or so) version. At least on
> my Debian system they do.

Time for me to update klogd I guess -- the manpage here doesn't say
anything about System.map-{version}. In fact the page from the 1.3-31 kit
I just unpacked doesn't either. ps' page does, but ps apparently doesn't
look for /System.map while klogd does. (ps does look in
/lib/modules/{version} while klogd doesn't.) Meanwhile 'make install' in
the kernel top directory puts the map in /System.map unless you uncomment
a line or otherwise define INSTALL_PATH. It's a bit confusing.

Whoops, the klogd page is incomplete -- The Source says it does try
System.map-{version} first and then System.map. I'll send the author a
patch for the manpage.

Whoops again, procps 2.0.5 does look at /System.map . I'll send a patch
for the manpage.

-- 
Mark H. Wood, Lead System Programmer   mwood@IUPUI.Edu
Please, no more software products offering a "richer experience"!  I have
indigestion of the brain already.  Give me a more ascetic experience.

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