summaryrefslogtreecommitdiffstats
path: root/usr.bin/uname
Commit message (Collapse)AuthorAgeFilesLines
* Change introduction history.peter2013-11-201-2/+2
|
* Add -K (__FreeBSD_version of kernel) and -U (__FreeBSD_version of userland).peter2013-10-152-5/+64
| | | | | | 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.
* Add missing static keywords to uname(1)ed2011-11-061-20/+21
|
* Remove the advertising clause from UCB copyrighted files in usr.bin. Thisjoel2010-12-111-4/+0
| | | | | | | | | 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
* Add new -o option (r203042) to manpage synopsis and usage().emaste2010-02-102-2/+2
| | | | Submitted by: ru
* Allow -o as a synonym for -s, for compatibility with other systems.emaste2010-01-262-2/+7
| | | | | | | Using -s is preferred, but some existing scripts and makefiles expect to get the system name from uname -o. Reviewed by: imp
* Sort sections.ru2005-01-181-6/+6
|
* Added the EXIT STATUS section where appropriate.ru2005-01-171-1/+1
|
* Fixed spelling of the document date.ru2004-07-021-1/+1
|
* Make the sysctlbyname stuff look like the 2-level MIB stuff. Thisjmallett2003-07-011-0/+1
| | | | | | | | 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.
* Add sysctlbyname(3) support, and use that for uname -i, in preparation forjmallett2003-06-091-1/+13
| | | | | replacing the committed static OID version with a string-based OID_AUTO version.
* Make kernel identification (`ident' in the config(8) driver) available tojmallett2003-06-092-6/+18
| | | | | | | | | 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@
* Use some macro evil to create the functions for using sysctl(3) to get eachjmallett2002-09-231-83/+38
| | | | | | | | 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
* Check to see if we should print a space, rather than using the annoyingjmallett2002-09-231-12/+12
| | | | | | prefix methodology. Adjust nearby style. Sponsored by: Bright Path Solutions
* Mostly rewrite the flag handling of uname(1) to be overridable, such as:jmallett2002-09-182-70/+171
| | | | | | | | | freefall% uname -s FreeBSD freefall% env UNAME_s=Linnex ./uname -s Linnex MFC after: 1 month
* ANSIify function definitions.dwmalone2002-09-041-4/+2
| | | | | | | | | 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
* Note that this appeared at least as early as PWB UNIX.jmallett2002-06-101-2/+1
| | | | Use the literal string 'PWB UNIX', as we still have no .At macro for it.
* Note early appearence of some commands. These actually appeared in PWB, butjmallett2002-06-101-1/+1
| | | | | 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.
* remove __Pimp2002-03-221-1/+1
|
* mdoc(7) police: bump document date for the -p change, tidy up the markup.ru2002-01-171-6/+3
|
* 'uname -p' prints the value of hw.machine_arch instead of hw.machine.nyan2002-01-142-8/+18
| | | | | | Reviewed by: imp No response from: -arch MFC after: 3 weeks
* WARNS=2 fixes, use __FBSDID().markm2001-12-111-5/+10
|
* mdoc(7) police: utilize the new .Ex macro.ru2001-08-151-4/+2
|
* $Id$ -> $FreeBSD$peter1999-08-281-1/+1
|
* Add $Id$, to make it simpler for members of the translation teams tonik1999-07-121-0/+1
| | | | | | | | | | | | | | | | | 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
* Fixed printf format errors.bde1998-07-061-5/+5
|
* Add a -p option which is the same as the -m option but providedsteve1998-02-242-2/+7
| | | | | | for SVR4 compatibility. PR: 5826
* Nm uname -> Nm.charnier1997-08-201-5/+5
|
* Show the real revision date and not the date that thissteve1997-06-231-1/+1
| | | | manpage is being viewed.
* compare return value from getopt against -1 rather than EOF, per the finalimp1997-03-291-1/+1
| | | | posix standard on the topic.
* This commit was generated by cvs2svn to compensate for changes in r23690,peter1997-03-111-1/+2
|\ | | | | | | which included commits to RCS files with non-trunk default branches.
| * Import some parts of CSRG 4.4BSD-Lite2 usr.bin sources to fix tree build.peter1997-03-111-1/+2
| |
* | Sort cross references.wosch1997-01-151-2/+2
| |
* | Use the .Bx macro where appropriate.mpp1996-08-231-1/+2
|/
* BSD 4.4 Lite Usr.bin Sourcesrgrimes1994-05-273-0/+264
OpenPOWER on IntegriCloud