Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/share/man/man7 merge the two lists.



details:   https://anonhg.NetBSD.org/src/rev/cd01bc069da1
branches:  trunk
changeset: 761586:cd01bc069da1
user:      christos <christos%NetBSD.org@localhost>
date:      Tue Feb 01 21:03:53 2011 +0000

description:
merge the two lists.

diffstat:

 share/man/man7/symlink.7 |  40 ++++++++++++++++++++++++++-
 share/man/man7/sysctl.7  |  70 +++--------------------------------------------
 2 files changed, 43 insertions(+), 67 deletions(-)

diffs (175 lines):

diff -r 1aea28e342fc -r cd01bc069da1 share/man/man7/symlink.7
--- a/share/man/man7/symlink.7  Tue Feb 01 21:00:25 2011 +0000
+++ b/share/man/man7/symlink.7  Tue Feb 01 21:03:53 2011 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: symlink.7,v 1.17 2009/06/26 15:50:17 christos Exp $
+.\"    $NetBSD: symlink.7,v 1.18 2011/02/01 21:03:53 christos Exp $
 .\"
 .\" Copyright (c) 1992, 1993, 1994
 .\"    The Regents of the University of California.  All rights reserved.
@@ -29,7 +29,7 @@
 .\"
 .\"    @(#)symlink.7   8.3 (Berkeley) 3/31/94
 .\"
-.Dd June 26, 2009
+.Dd February 1, 2011
 .Dt SYMLINK 7
 .Os
 .Sh NAME
@@ -483,10 +483,34 @@
 .Xr sethostname 3 .
 .It @emul
 Expands to the name of the current process's emulation.
+Defaults to
+.Dv netbsd .
+Other valid emulations are:
+.Dv aout ,
+.Dv aoutm68k ,
+.Dv darwin ,
+.Dv freebsd ,
+.Dv ibcs2 ,
+.Dv irix ,
+.Dv linux ,
+.Dv linux32 ,
+.Dv m68k4k ,
+.Dv mach ,
+.Dv netbsd32 ,
+.Dv osf1 ,
+.Dv pecoff ,
+.Dv sunos ,
+.Dv sunos32 ,
+.Dv svr4 ,
+.Dv svr4_32 ,
+.Dv ultrix ,
+.Dv vax1k .
 .It @kernel_ident
 Expands to the name of the
 .Xr config 1
 file used to generate the running kernel.
+For example
+.Dv GENERIC .
 .It @machine
 Expands to the value of
 .Li MACHINE
@@ -495,6 +519,9 @@
 equivalent to the output of
 .Dq uname -m
 .Pc .
+(
+.Xr sysctl 3
+.Dq hw.machine )
 .It @machine_arch
 Expands to the value of
 .Li MACHINE_ARCH
@@ -503,18 +530,27 @@
 equivalent to the output of
 .Dq uname -p
 .Pc .
+(
+.Xr sysctl 3
+.Dq hw.machine_arch )
 .It @osrelease
 Expands to the operating system release of the running kernel
 .Po
 equivalent to the output of
 .Dq uname -r
 .Pc .
+(
+.Xr sysctl 3
+.Dq kern.osrelease )
 .It @ostype
 Expands to the operating system type of the running kernel
 .Po
 equivalent to the output of
 .Dq uname -s
 .Pc .
+(
+.Xr sysctl 3
+.Dq kern.ostype )
 This will always be
 .Dq NetBSD
 on
diff -r 1aea28e342fc -r cd01bc069da1 share/man/man7/sysctl.7
--- a/share/man/man7/sysctl.7   Tue Feb 01 21:00:25 2011 +0000
+++ b/share/man/man7/sysctl.7   Tue Feb 01 21:03:53 2011 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: sysctl.7,v 1.59 2011/02/01 20:43:48 christos Exp $
+.\"    $NetBSD: sysctl.7,v 1.60 2011/02/01 21:03:53 christos Exp $
 .\"
 .\" Copyright (c) 1993
 .\"    The Regents of the University of California.  All rights reserved.
@@ -151,70 +151,10 @@
 .Dv 0 .
 Variables are of the form
 .Li @name
-and the following names are supported:
-.Bl -tag -width "kernel_ident"
-.It domainname
-The domain name as determined by 
-.Xr getdomainname 2
-.It emul
-The current process emulation name.
-Defaults to
-.Dv netbsd .
-Other valid emulations are:
-.Dv aout ,
-.Dv aoutm68k ,
-.Dv darwin ,
-.Dv freebsd ,
-.Dv ibcs2 ,
-.Dv irix ,
-.Dv linux ,
-.Dv linux32 ,
-.Dv m68k4k ,
-.Dv mach ,
-.Dv netbsd32 ,
-.Dv osf1 ,
-.Dv pecoff ,
-.Dv sunos ,
-.Dv sunos32 ,
-.Dv svr4 ,
-.Dv svr4_32 ,
-.Dv ultrix ,
-.Dv vax1k .
-.It gid
-The effective group id of the current process.
-.It hostname
-The host name as determined by
-.Xr gethostname 2
-.It kernel_ident
-The kernel identifier, as specified by config.
-For example
-.Dv GENERIC .
-.It machine
-The type of machine as determined by the
-.Xr sysctl 3
-.Dq hw.machine .
-.It machine_arch
-The architecture of the processor as determined by the
-.Xr sysctl 3
-.Dq hw.machine_arch .
-.It osrelease
-The kernel release number as determined by the
-.Xr sysctl 3
-.Dq kern.osrelease .
-.Xr sysctl 3
-.It ostype
-The kernel operating system type as determined by the
-.Xr sysctl 3
-.Dq kern.ostype .
-Defaults to
-.Dv NetBSD .
-.It rgid
-The real group id of the current process.
-.It ruid
-The real user id of the current process.
-.It uid
-The effective user id of the current process.
-.El
+and the variables supported are described in
+.Xr symlink 7
+under
+.Dq "MAGIC SYMLINKS" .
 .El
 .Pp
 A second level name for controlling the



Home | Main Index | Thread Index | Old Index