[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: /boot/System.map-2.2.18pre21



Ethan Benson <erbenson@alaska.net> wrote:
>On Fri, Apr 13, 2001 at 10:56:36AM +0100, Wayne Brown wrote:
>> Hi,
>> I have managed to destroy this file (stupid I know) *gg*. My system still
>> seems to work though. Is this a critical file? Can I replace it?
>> I cant find any mention of this file in my books, any help appreciated.
>> Thanks in advance.
>
>nm /boot/vmlinux-2.2.18pre21 |
>	grep -v '\(compiled\)\|\(\.o$$\)\|\( [aU] \)\|\(\.\.ng$$\)\|\(LASH[RL]DI\)' |
                                    ^^                        ^^

The double '$'s are for the benefit of make. Replace them with single
'$'s if running manually.

>	sort > /boot/System.map-2.2.18pre21

Something like:

  nm vmlinux | egrep -v 'compiled|\.o$| [aU] |\.\.ng$|LASH[RL]DI' | sort

... would be a lot more legible. Wonder why the kernel Makefile is so
heavy-handed about it?

-- 
Colin Watson                                     [cjw44@flatline.org.uk]



Reply to: