🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: csu.unix.linux
Article #89

Re: new kernel

#89
From: Michael Dwyer
Date: Sun, 08 Oct 2000 00:00
21 lines
1453 bytes
Adam Carheden <adam.carheden@colostate.edu> wrote:
: Where is the kernel version number stored anyway?  I'd think it would be
: hard coded in at compile time.

I think it is stored in (heh heh) version.h.

Actually, I'm just throwing that out there.  I should mention that
the build number is hidden in a dot-file called .version.

While I'm poking around in ther kernel, the version is stored in 
inclue/linux/version.h in the symbol "UTS_RELEASE"

Unless you are using one of those satanic RedHat kenrnels, where it is
hidden in two places depending if you want the uniprocessor or
multiprocessor kernel.

-- 
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Michael J. Dwyer                    Digital Watches are a neat idea!
mdwyer@holly.ColoState.edu       http://WWW.CS.ColoState.EDU/~dwyer/
Computer Science Survivor                   Amateur Radio Tech N0ZAP
Technical Details
Message-ID: <39e13988@news.ColoState.EDU>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <39dd3092@news.ColoState.EDU> <39de02d3@news.ColoState.EDU> <39E0AB42.AF475F0@colostate.edu>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 1159f7,d12a871aa0bd11e1
X-Google-Attributes: gid1159f7,public
From: Michael Dwyer <mdwyer@holly.ColoState.EDU>
Subject: Re: new kernel
Date: 2000/10/08
Message-ID: <39e13988@news.ColoState.EDU>
X-Deja-AN: 679163424
References: <39dd3092@news.ColoState.EDU> <39de02d3@news.ColoState.EDU> <39E0AB42.AF475F0@colostate.edu>
X-Trace: 8 Oct 2000 21:20:40 -0700, holly.acns.colostate.edu
User-Agent: tin/pre-1.4-19990517 ("Psychonaut") (UNIX) (AIX/4-3)
Newsgroups: csu.unix.linux