Updating 5.2.1 Release #

Matthew Seaman m.seaman at infracaninophile.co.uk
Thu Jul 29 09:15:43 PDT 2004


On Thu, Jul 29, 2004 at 05:51:57PM +0200, Cedric GROSS wrote:

> So what is the diff between uname -r and uname -v, which produce for me
> :
> 
> Uname -r : 5.2.1-RELEASE
> Uname -v : FreeBSD 5.2.1-RELEASE #0: Mon Jun 14 14:52:08 CEST 2004
> root at bruce.cnv.local:/usr/obj/usr/src/sys/CNV_TOTAL
> 
> Extract from man page :
> -r Write the current release level of the operating system
> -v  Write the version level of this release of the operating system
> 
> So that's mean that there are several Release ( as relesase level) and
> inside each release level there are several version level, am'I
> understanding well ?

The different flags to uname(1) basically select different bits out of
the uname data -- so 'uname -a' gives you *all* of the data, 'uname
-r' gives you the release level, 'uname -m' gives you the hardware
architecture, etc. etc.

Note that this command isn't FreeBSD specific -- the behaviour of
uname(1) is part of the POSIX.2 specification, which means it will
work the same way on any current unixoid OS you care to mention.  Of
course, different development groups do tend to have slightly
different interpretations of exactly what it is POSIX.2 mandates
should be printed out in each case.

Under FreeBSD, 'uname -v' attempts to give you as unambiguous as
possible identification of exactly what kernel/OS setup you have.
Since FreeBSD has quite a number of different code branches, and
several of those branches are under continuous development, and
kernels can be compiled in various different configurations by various
different people, it takes quite a complicated string to identify all
of that.  Other OSes tend to be somewhat more terse, especially those
where the development process isn't exposed to the public: for
instance Solaris just gives you the OS version number and the relevant
patch id (if any) where patching has involved replacing the kernel
image.

	Cheers,

	Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.                       26 The Paddocks
                                                      Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey         Marlow
Tel: +44 1628 476614                                  Bucks., SL7 1TH UK
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20040729/1dba4ddc/attachment.bin


More information about the freebsd-questions mailing list