History log of /freebsd-current/usr.bin/uname/uname.1
Revision Date Author Comments
# bdcbfde3 23-Nov-2023 Warner Losh <imp@FreeBSD.org>

usr.bin: Remove ancient SCCS tags.

Remove ancient SCCS tags from the tree, automated scripting, with two
minor fixup to keep things compiling. All the common forms in the tree
were removed with a perl script.

Sponsored by: Netflix


# b2c76c41 16-Aug-2023 Warner Losh <imp@FreeBSD.org>

Remove $FreeBSD$: one-line nroff pattern

Remove /^\.\\"\s*\$FreeBSD\$$\n/


# 8f98a937 16-Sep-2022 Gordon Bergling <gbe@FreeBSD.org>

uname.1: Clarify the -r option

It is some times hard to understand the difference between
kernel version and userland version. So clarify the -r option
of uname(1) in terms of a printed kernel version.

While here, add some cross references:

- cross reference freebsd-version(1) in uname(1)
- cross reference freebsd-version(1) and uname(1) in freebsd-update(8)

PR: 265594
Reported by: rwatson
Reviewed by: gbe, imp
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D36516


# 3f6cdd59 18-Dec-2020 Gordon Bergling <gbe@FreeBSD.org>

uname(1): Fix a typo in the man page date

MFC after: 3 days


# ea09ac52 13-Nov-2020 Mateusz Piotrowski <0mp@FreeBSD.org>

Explicitly note in the EXAMPLES section that uname(3) contains more details

MFC after: 1 week


# f8024c39 10-Aug-2020 Alexey Dokuchaev <danfe@FreeBSD.org>

Document the order in which the kernel and the user environment versions
are printed when both -K and -U options are passed on the command line.

Approved by: 0mp
Differential Revision: https://reviews.freebsd.org/D25970


# 473cb30c 12-May-2020 Warner Losh <imp@FreeBSD.org>

Refine the history of uname. It appeared in 4.4BSD. It was not in v7 unix. It
was one of the additions in PWB, and appeared in System III and later commercial
versions of Unix. The different args to uname weren't aded until System III. Add
a quick note to note the late entry into the BSD fork of Unix since PWB
otherwise implies a pre-fork date.


# fb9a9855 27-Jun-2019 Ed Maste <emaste@FreeBSD.org>

Expose the kernel's build-ID through `uname -b`

After r348611 the kernel's build-ID is available via sysctl. Add a -b flag
to uname to report it.

Submitted by: Ali Mashtizadeh <ali_mashtizadeh.com>
Reviewed by: markj, imp
Relnotes: Yes
Event: Waterloo Hackathon 2019
Differential Revision: https://reviews.freebsd.org/D20511


# ab0dffaf 30-May-2017 Alexey Dokuchaev <danfe@FreeBSD.org>

- Add a simple example to uname(1) manual page to show how the hardware
platform (returned by -m) can be different from the machine's processor
architecture (-p)
- Document that make(1) sets universal MACHINE and MACHINE_ARCH variables
based on these values

Reviewed by: imp, manpages (bjk)
Approved by: bjk, imp (implied)
Differential Revision: https://reviews.freebsd.org/D10489


# fbbd9655 28-Feb-2017 Warner Losh <imp@FreeBSD.org>

Renumber copyright clause 4

Renumber cluase 4 to 3, per what everybody else did when BSD granted
them permission to remove clause 3. My insistance on keeping the same
numbering for legal reasons is too pedantic, so give up on that point.

Submitted by: Jan Schaumann <jschauma@stevens.edu>
Pull Request: https://github.com/freebsd/freebsd/pull/96


# c9b53336 20-Nov-2013 Peter Wemm <peter@FreeBSD.org>

Change introduction history.


# 876a7cf4 15-Oct-2013 Peter Wemm <peter@FreeBSD.org>

Add -K (__FreeBSD_version of kernel) and -U (__FreeBSD_version of userland).
Things like Makefile.inc1 resort to parsing /usr/include/osreldate.h with
awk because this isn't easily available by other means. The separation
of user and kernel versions is important for jail/chroot environments.


# da52b4ca 11-Dec-2010 Joel Dahl <joel@FreeBSD.org>

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


# a7d5f7eb 19-Oct-2010 Jamie Gritton <jamie@FreeBSD.org>

A new jail(8) with a configuration file, to replace the work currently done
by /etc/rc.d/jail.


# fe0506d7 09-Mar-2010 Marcel Moolenaar <marcel@FreeBSD.org>

Create the altix project branch. The altix project will add support
for the SGI Altix 350 to FreeBSD/ia64. The hardware used for porting
is a two-module system, consisting of a base compute module and a
CPU expansion module. SGI's NUMAFlex architecture can be an excellent
platform to test CPU affinity and NUMA-aware features in FreeBSD.


# a0b96fd4 09-Feb-2010 Ed Maste <emaste@FreeBSD.org>

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

Submitted by: ru


# 8293a8fe 26-Jan-2010 Ed Maste <emaste@FreeBSD.org>

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


# d7f03759 19-Oct-2008 Ulf Lilleengen <lulf@FreeBSD.org>

- Import the HEAD csup code which is the basis for the cvsmode work.


# 6c7216df 18-Jan-2005 Ruslan Ermilov <ru@FreeBSD.org>

Sort sections.


# a866e170 17-Jan-2005 Ruslan Ermilov <ru@FreeBSD.org>

Added the EXIT STATUS section where appropriate.


# 4b6c8c64 02-Jul-2004 Ruslan Ermilov <ru@FreeBSD.org>

Fixed spelling of the document date.


# c4119c76 09-Jun-2003 Juli Mallett <jmallett@FreeBSD.org>

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@


# bed4636e 17-Sep-2002 Juli Mallett <jmallett@FreeBSD.org>

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


# 6fc8ba94 10-Jun-2002 Juli Mallett <jmallett@FreeBSD.org>

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.


# a13d4e42 09-Jun-2002 Juli Mallett <jmallett@FreeBSD.org>

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.


# 62eaa6ee 17-Jan-2002 Ruslan Ermilov <ru@FreeBSD.org>

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


# 1c6d3890 13-Jan-2002 Yoshihiro Takahashi <nyan@FreeBSD.org>

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

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


# d628d776 15-Aug-2001 Ruslan Ermilov <ru@FreeBSD.org>

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


# c3aac50f 27-Aug-1999 Peter Wemm <peter@FreeBSD.org>

$Id$ -> $FreeBSD$


# 3be5f1f5 12-Jul-1999 Nik Clayton <nik@FreeBSD.org>

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


# 7db98de9 24-Feb-1998 Steve Price <steve@FreeBSD.org>

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

PR: 5826


# c7c16beb 20-Aug-1997 Philippe Charnier <charnier@FreeBSD.org>

Nm uname -> Nm.


# 681e5e7a 22-Jun-1997 Steve Price <steve@FreeBSD.org>

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


# da1ff3cb 15-Jan-1997 Wolfram Schneider <wosch@FreeBSD.org>

Sort cross references.


# c0b0bcf4 23-Aug-1996 Mike Pritchard <mpp@FreeBSD.org>

Use the .Bx macro where appropriate.


# 9b50d902 26-May-1994 Rodney W. Grimes <rgrimes@FreeBSD.org>

BSD 4.4 Lite Usr.bin Sources