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.

Bob


_______________________________________________
Bug-sh-utils mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-sh-utils

Reply via email to