Source-Changes-HG archive

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

[src/trunk]: src/share/man/man9 Garbage collect some references to the old sy...



details:   https://anonhg.NetBSD.org/src/rev/156c0d2279f9
branches:  trunk
changeset: 555946:156c0d2279f9
user:      atatat <atatat%NetBSD.org@localhost>
date:      Thu Dec 04 19:57:38 2003 +0000

description:
Garbage collect some references to the old sysctl() infrastructure.

diffstat:

 share/man/man9/Makefile     |   7 ++---
 share/man/man9/cpu_sysctl.9 |  56 ---------------------------------------------
 share/man/man9/vfsops.9     |   7 +----
 share/man/man9/vfssubr.9    |   9 +------
 4 files changed, 5 insertions(+), 74 deletions(-)

diffs (160 lines):

diff -r 56cc41d11081 -r 156c0d2279f9 share/man/man9/Makefile
--- a/share/man/man9/Makefile   Thu Dec 04 19:49:39 2003 +0000
+++ b/share/man/man9/Makefile   Thu Dec 04 19:57:38 2003 +0000
@@ -1,4 +1,4 @@
-#       $NetBSD: Makefile,v 1.150 2003/11/16 15:07:25 yamt Exp $
+#       $NetBSD: Makefile,v 1.151 2003/12/04 19:57:38 atatat Exp $
 
 #      Makefile for section 9 (kernel function and variable) manual pages.
 
@@ -9,7 +9,7 @@
        cpu_configure.9 cpu_coredump.9 cpu_dumpconf.9 cpu_exit.9 cpu_idle.9 \
        cpu_fork.9 \
        cpu_initclocks.9 cpu_number.9 cpu_reboot.9 cpu_rootconf.9 \
-       cpu_startup.9 cpu_swapout.9 cpu_sysctl.9 cpu_wait.9 \
+       cpu_startup.9 cpu_swapout.9 cpu_wait.9 \
        cred.9 ctxsw.9 curproc.9 \
        delay.9 disk.9 disklabel.9 dofileread.9 \
        dopowerhooks.9 do_setresuid.9 doshutdownhooks.9 driver.9 \
@@ -456,7 +456,7 @@
        uvm.9 uvm_scheduler.9 uvm.9 uvm_swapin.9 uvm.9 uao_create.9 \
        uvm.9 uao_detach.9 uvm.9 uao_reference.9 uvm.9 uvm_chgkprot.9 \
        uvm.9 uvm_kernacc.9 uvm.9 uvm_useracc.9 uvm.9 uvm_vslock.9 \
-       uvm.9 uvm_vsunlock.9 uvm.9 uvm_meter.9 uvm.9 uvm_sysctl.9 \
+       uvm.9 uvm_vsunlock.9 uvm.9 uvm_meter.9 \
        uvm.9 uvm_fork.9 uvm.9 uvm_grow.9 uvm.9 uvm_coredump.9 \
        uvm.9 ubc_alloc.9 \
        uvm.9 ubc_release.9 \
@@ -506,7 +506,6 @@
        vfssubr.9 vfs_detach.9 \
        vfssubr.9 vfs_reinit.9 \
        vfssubr.9 vfs_getopsbyname.9 \
-       vfssubr.9 vfs_sysctl.9 \
        vfssubr.9 vfs_write_suspend.9 \
        vfssubr.9 vfs_write_resume.9
 MLINKS+=vnode.9 vcount.9 \
diff -r 56cc41d11081 -r 156c0d2279f9 share/man/man9/cpu_sysctl.9
--- a/share/man/man9/cpu_sysctl.9       Thu Dec 04 19:49:39 2003 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,56 +0,0 @@
-.\"     $NetBSD: cpu_sysctl.9,v 1.3 2003/04/16 13:35:27 wiz Exp $
-.\"
-.\" Copyright (c) 2002 The NetBSD Foundation, Inc.
-.\" All rights reserved.
-.\"
-.\" This code is derived from software contributed to The NetBSD Foundation
-.\" by Gregory McGarry.
-.\"
-.\" Redistribution and use in source and binary forms, with or without
-.\" modification, are permitted provided that the following conditions
-.\" are met:
-.\" 1. Redistributions of source code must retain the above copyright
-.\"    notice, this list of conditions and the following disclaimer.
-.\" 2. Redistributions in binary form must reproduce the above copyright
-.\"    notice, this list of conditions and the following disclaimer in the
-.\"    documentation and/or other materials provided with the distribution.
-.\" 3. All advertising materials mentioning features or use of this software
-.\"    must display the following acknowledgement:
-.\"        This product includes software developed by the NetBSD
-.\"        Foundation, Inc. and its contributors.
-.\" 4. Neither the name of The NetBSD Foundation nor the names of its
-.\"    contributors may be used to endorse or promote products derived
-.\"    from this software without specific prior written permission.
-.\"
-.\" THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS
-.\" ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
-.\" TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
-.\" PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS
-.\" BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
-.\" CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
-.\" SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
-.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
-.\" CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
-.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
-.\" POSSIBILITY OF SUCH DAMAGE.
-.\"
-.Dd May 23, 2002
-.Dt CPU_SYSCTL 9
-.Os
-.Sh NAME
-.Nm cpu_sysctl
-.Nd machine-dependent system variable
-.Sh SYNOPSIS
-.In sys/systm.h
-.In sys/proc.h
-.Ft int
-.Fn cpu_sysctl "int *name" "u_int namelen" "void *oldp" \
-"size_t *oldlenp" "void *newp" "size_t newlen" "struct proc *p"
-.Sh DESCRIPTION
-.Fn sysctl
-retrieves machine-dependent system information for the
-.Xr sysctl 3
-function.
-All variables are prefixed with "hw".
-.Sh SEE ALSO
-.Xr sysctl 3
diff -r 56cc41d11081 -r 156c0d2279f9 share/man/man9/vfsops.9
--- a/share/man/man9/vfsops.9   Thu Dec 04 19:49:39 2003 +0000
+++ b/share/man/man9/vfsops.9   Thu Dec 04 19:57:38 2003 +0000
@@ -1,4 +1,4 @@
-.\"     $NetBSD: vfsops.9,v 1.13 2003/09/06 19:02:42 yamt Exp $
+.\"     $NetBSD: vfsops.9,v 1.14 2003/12/04 19:57:38 atatat Exp $
 .\"
 .\" Copyright (c) 2001 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -122,7 +122,6 @@
 void (*vfs_init)()     -       Initialise file system
 void (*vfs_reinit)()   -       Reinitialise file system
 void (*vfs_done)()     -       Cleanup unmounted file system
-int  (*vfs_sysctl)()   -       Query/modify kernel state
 int  (*vfs_mountroot)()        -       Mount the root file system
 int  (*vfs_checkexp)() VFS_CHECKEXP    Check if file system is exported
 .fi
@@ -170,10 +169,6 @@
 queried and modified using the
 .Xr sysctl 8
 interface.
-The
-.Em vfs_sysctl
-member of the vfsops structure is invoked by file system independent
-code for sysctl operations which are file system specific.
 .Sh FUNCTIONS
 .Bl -tag -width compact
 .It Fn VFS_MOUNT "mp" "path" "data" "ndp" "p"
diff -r 56cc41d11081 -r 156c0d2279f9 share/man/man9/vfssubr.9
--- a/share/man/man9/vfssubr.9  Thu Dec 04 19:49:39 2003 +0000
+++ b/share/man/man9/vfssubr.9  Thu Dec 04 19:57:38 2003 +0000
@@ -1,4 +1,4 @@
-.\"     $NetBSD: vfssubr.9,v 1.5 2003/10/22 07:12:43 hannken Exp $
+.\"     $NetBSD: vfssubr.9,v 1.6 2003/12/04 19:57:38 atatat Exp $
 .\"
 .\" Copyright (c) 2003 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -56,7 +56,6 @@
 .Nm vfs_detach ,
 .Nm vfs_reinit ,
 .Nm vfs_getopsbyname ,
-.Nm vfs_sysctl ,
 .Nm vfs_write_suspend ,
 .Nm vfs_write_resume
 .Nd high-level interface to kernel file system interface
@@ -104,9 +103,6 @@
 .Ft struct vfsops *
 .Fn vfs_getopsbyname "const char *name"
 .Ft int
-.Fn vfs_sysctl "int *name" "u_int namelen" "void *oldp" "size_t *oldlenp" \
-"void *newp" "size_t newlen" "struct proc *p"
-.Ft int
 .Fn vfs_write_suspend "struct mount *mp"
 .Ft void
 .Fn vfs_write_resume "struct mount *mp"
@@ -193,9 +189,6 @@
 or return
 .Dv NULL
 if file system isn't present in the kernel.
-.It Fn vfs_sysctl "name" "namelen" "oldp" "oldlenp" "newp" "newlen" \
-"struct proc *p"
-Retrieve file system-specific information for the sysctl(3) function.
 .It Fn vfs_write_suspend "mp"
 Request a mounted file system to suspend write operations.
 All new write operations to the file system are stopped.



Home | Main Index | Thread Index | Old Index