Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 Jan 2009 08:06:50 -0500
From:      Robert Huff <roberthuff@rcn.com>
To:        Trober <trober@trober.com>
Cc:        questions@freebsd.org
Subject:   Re: source of uname information
Message-ID:  <18807.7658.648830.399278@jerusalem.litteratus.org>
In-Reply-To: <20090121123826.D19AA140AD@karpathos.uni5.net>
References:  <20090121123826.D19AA140AD@karpathos.uni5.net>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help

Trober <trober@trober.com>:

>>   Am I correct in believing "uname" gets its information from the
>>   kern.version sysctl?
>
>   I believe "YES", based on
>   [1]http://www.freebsd.org/cgi/cvsweb.cgi/src/usr.bin/uname/uname.c
>
>   See "= NATIVE_SYSCTL2_GET(ver= sion, CTL_KERN, KERN_VERSION)", on
>   source above.
>
>   I hope I've helped.

	It does.
	Next question:
	Can someone explain this:

huff@jerusalem>> sysctl kern.version
kern.version: FreeBSD 8.0-CURRENT #0: Tue Jan 20 10:40:57 EST 2009
    huff@jerusalem.litteratus.org:/usr/obj/usr/src/sys/JERUSALEM
huff@jerusalem>> uname -a
FreeBSD jerusalem.litteratus.org 7.0-CURRENT FreeBSD 7.0-CURRENT #0: Tue Jan 20 10:40:57 EST 2009     huff@jerusalem.litteratus.org:/usr/obj/usr/src/sys/JERUSALEM  i386


				Robert huff




Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?18807.7658.648830.399278>