Re: info on System.map

From: Lech Szychowski (lech.szychowski@pse.pl)
Date: Tue May 16 2000 - 15:20:34 EST


> v_kernel=`cat /proc/cmdline|cut -d"=" -f2|cut -d" " -f1`
> ln -sf /boot/$v_kernel.map /boot/System.map

That's not correct. It depends on LILO label being the same as
UTS_RELEASE. If you want to do this this way (using ln -s at
boot time) use "uname -r".

22:19 [lech(p0)$/home/lech7] cat /proc/cmdline
BOOT_IMAGE=99-p9-1-cz28 ro root=805

22:19 [lech(p0)$/home/lech7] uname -r
2.3.99-pre9-1-cz28

22:19 [lech(p0)$/home/lech7] grep "Loaded.*symbols" /var/log/kern.LOG | tail -1
May 16 17:55:23 lech kernel: Loaded 14468 symbols from /boot/System.map-2.3.99-pre9-1-cz28.

-- 
	Leszek.

-- lech7@pse.pl 2:480/33.7 -- REAL programmers use INTEGERS -- -- speaking just for myself...

- 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 : Tue May 23 2000 - 21:00:11 EST