History log of /freebsd-10.0-release/usr.bin/uname/
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
259065 07-Dec-2013 gjb

- Copy stable/10 (r259064) to releng/10.0 as part of the
10.0-RELEASE cycle.
- Update __FreeBSD_version [1]
- Set branch name to -RC1

[1] 10.0-CURRENT __FreeBSD_version value ended at '55', so
start releng/10.0 at '100' so the branch is started with
a value ending in zero.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation

258394 20-Nov-2013 peter

MFC r256557: add uname flags to access userland's __FreeBSD_version more
conveniently than the traditional way of scripts parsing #include files.

Approved by: re (hrs)


256281 10-Oct-2013 gjb

Copy head (r256279) to stable/10 as part of the 10.0-RELEASE cycle.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation


227191 06-Nov-2011 ed

Add missing static keywords to uname(1)


216370 11-Dec-2010 joel

Remove the advertising clause from UCB copyrighted files in usr.bin. This
is in accordance with the information provided at
ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change

Also add $FreeBSD$ to a few files to keep svn happy.

Discussed with: imp, rwatson


203735 10-Feb-2010 emaste

Add new -o option (r203042) to manpage synopsis and usage().

Submitted by: ru


203042 26-Jan-2010 emaste

Allow -o as a synonym for -s, for compatibility with other systems.

Using -s is preferred, but some existing scripts and makefiles expect
to get the system name from uname -o.

Reviewed by: imp


140420 18-Jan-2005 ru

Sort sections.


140368 17-Jan-2005 ru

Added the EXIT STATUS section where appropriate.


131468 02-Jul-2004 ru

Fixed spelling of the document date.


117137 01-Jul-2003 jmallett

Make the sysctlbyname stuff look like the 2-level MIB stuff. This
means actually setting 'len', for example. Which will make uname -i
work on some systems where it did not. Anywhere where it did work,
it was a matter of coincidence.

Submitted by: redpixel on EFnet.


116088 09-Jun-2003 jmallett

Add sysctlbyname(3) support, and use that for uname -i, in preparation for
replacing the committed static OID version with a string-based OID_AUTO
version.


116085 09-Jun-2003 jmallett

Make kernel identification (`ident' in the config(8) driver) available to
userland, and the kernel. In the kernel by way of the 'ident[]' variable
akin to all the other stuff generated by newvers.sh. In userland it is
available to sysctl consumers via KERN_IDENT or 'kern.ident'. It is exported
by uname(1) by the -i flag.

Reviewed by: hackers@


103846 23-Sep-2002 jmallett

Use some macro evil to create the functions for using sysctl(3) to get each
variable natively. It should allow you to use any sysctl mib set, but due
to limitations of what I can do with macros, right now it's limited to two,
which is all this program used anyway.

Sponsored by: Bright Path Solutions


103837 23-Sep-2002 jmallett

Check to see if we should print a space, rather than using the annoying
prefix methodology. Adjust nearby style.

Sponsored by: Bright Path Solutions


103518 18-Sep-2002 jmallett

Mostly rewrite the flag handling of uname(1) to be overridable, such as:
freefall% uname -s
FreeBSD
freefall% env UNAME_s=Linnex ./uname -s
Linnex

MFC after: 1 month


102944 04-Sep-2002 dwmalone

ANSIify function definitions.
Add some constness to avoid some warnings.
Remove use register keyword.
Deal with missing/unneeded extern/prototypes.
Some minor type changes/casts to avoid warnings.

Reviewed by: md5


98107 10-Jun-2002 jmallett

Note that this appeared at least as early as PWB UNIX.

Use the literal string 'PWB UNIX', as we still have no .At macro for it.


98080 10-Jun-2002 jmallett

Note early appearence of some commands. These actually appeared in PWB, but
it seems we don't have a macro for that yet, so list them in the first UNIX
release since then that we have a .At for: v7.


92922 22-Mar-2002 imp

remove __P


89457 17-Jan-2002 ru

mdoc(7) police: bump document date for the -p change, tidy up the markup.


89346 14-Jan-2002 nyan

'uname -p' prints the value of hw.machine_arch instead of hw.machine.

Reviewed by: imp
No response from: -arch
MFC after: 3 weeks


87696 11-Dec-2001 markm

WARNS=2 fixes, use __FBSDID().


81687 15-Aug-2001 ru

mdoc(7) police: utilize the new .Ex macro.


50477 28-Aug-1999 peter

$Id$ -> $FreeBSD$


48792 12-Jul-1999 nik

Add $Id$, to make it simpler for members of the translation teams to
track.

The $Id$ line is normally at the bottom of the main comment block in the
man page, separated from the rest of the manpage by an empty comment,
like so;

.\" $Id$
.\"

If the immediately preceding comment is a @(#) format ID marker than the
the $Id$ will line up underneath it with no intervening blank lines.
Otherwise, an additional blank line is inserted.

Approved by: bde


37453 06-Jul-1998 bde

Fixed printf format errors.


33792 24-Feb-1998 steve

Add a -p option which is the same as the -m option but provided
for SVR4 compatibility.

PR: 5826


28455 20-Aug-1997 charnier

Nm uname -> Nm.


26826 23-Jun-1997 steve

Show the real revision date and not the date that this
manpage is being viewed.


24360 29-Mar-1997 imp

compare return value from getopt against -1 rather than EOF, per the final
posix standard on the topic.


23691 11-Mar-1997 peter

This commit was generated by cvs2svn to compensate for changes in r23690,
which included commits to RCS files with non-trunk default branches.


21748 15-Jan-1997 wosch

Sort cross references.


17797 23-Aug-1996 mpp

Use the .Bx macro where appropriate.


1591 27-May-1994 rgrimes

This commit was generated by cvs2svn to compensate for changes in r1590,
which included commits to RCS files with non-trunk default branches.