[Top][All Lists]

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

Re: Weird things with uname

From: Bob Proulx
Subject: Re: Weird things with uname
Date: Fri, 24 Jan 2003 19:50:49 -0700
User-agent: Mutt/1.4i

Tarje Bargheer wrote:
> Sorry if this is related to my own setup, and not uname in general...

Thanks for the report.  But I believe it is your personal setup.

> But I use Gentoo linux (and uses scripts that for instance uses 'uname 
> -r'). When I type
> uname -r
> I get the following output:
> 2.4.19-gentoo-r7
> Even though that was my old kernel (which I deleted some time ago). The 
> symlink that describes which kernel version to use is pointing to 
> /usr/src/2.4.19-gentoo-r10 not as indicated /usr/src/2.4.19-gentoo-r7.

The uname command just returns the kernel uname structure contents.
If 'uname -r' says the above then that is what the kernel thinks the
revision is.

Since gentoo is a recompile distribution I imagine that the kernel was
recompiled with that as the version string.  Check the top level
Makefile and you should find a kernel version string that matches.
Look for the KERNELRELEASE variable in the Makefile.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]