On Wed, 23 May 2007, Saikrishna Macharla wrote:
I have found this bug in RHEL4, think will be there in all distros.
[EMAIL PROTECTED] root]# uname -r
2.4.21-47.0.1.ELvmnix
[EMAIL PROTECTED] 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
_______________________________________________
Bug-coreutils mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-coreutils