[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Bug: uname -r shows kernel version and uname -v shows release date
From: |
Philip Rowlands |
Subject: |
Re: Bug: uname -r shows kernel version and uname -v shows release date |
Date: |
Wed, 23 May 2007 15:14:40 +0100 (BST) |
On Wed, 23 May 2007, Saikrishna Macharla wrote:
I have found this bug in RHEL4, think will be there in all distros.
address@hidden root]# uname -r
2.4.21-47.0.1.ELvmnix
address@hidden root]# uname -v
#1 Tue May 22 05:16:53 PDT 2007
uname(1) simply displays what uname(2) returns.
$ strace -v -e uname uname -v
uname({sysname="Linux", nodename="anacreon.dub.corp.google.com", release="2.6.18.5-gg4",
version="#1 SMP Mon Jan 8 15:59:45 GMT 2007", machine="i686"}) = 0
uname({sysname="Linux", nodename="anacreon.dub.corp.google.com", release="2.6.18.5-gg4",
version="#1 SMP Mon Jan 8 15:59:45 GMT 2007", machine="i686"}) = 0
#1 SMP Mon Jan 8 15:59:45 GMT 2007
which in turn gets them (on Linux) from various settings in
/proc/sys/kernel/
Cheers,
Phil