[Fwd: Re: info on System.map]

From: George Anzinger (george@pioneer.net)
Date: Thu May 18 2000 - 12:39:59 EST


-------- Original Message --------
Subject: Re: info on System.map
Date: Thu, 18 May 2000 10:25:21 -0700
From: George Anzinger <george@pioneer.net>
Organization: Monta Vista Software
To: André Dahlqvist <andre@beta.telenordia.se>
References: <39217124.C8965596@agilent.com>
<Pine.LNX.4.10.10005161339580.9212-100000@wr5z.localdomain>
<20000516222034.C1218@lech.pse.pl> <3921FEF8.E9D1A5A7@pioneer.net>
<20000517145216.B884@beta.telenordia.se>

André Dahlqvist wrote:
>
> > `sed -e 's/.*#\([0-9][0-9]*\).*/\1/' /proc/version`
> > This picks out the build number which the master make bumps each time
> > the system is made. Notice I have made provisions for it to go past 9.
>
> But what if you have a kernel called something like 2.3.99-pre9 and
> another one named 2.3.99-pre9-2. Both of these will be called
> 2.3.99-pre9 in /proc/version.
> --
>
> // André
If you examine the line above you will notice it only picks up the build
number. I add this to the uname -r result. Effectively it is
"name=System_map-`uname -r`-`sed -e 's/.*#\([0-9][0-9]*\).*/\1/'
/proc/version`".

-
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:15 EST