Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys Sysctl descriptions under vfs subtree
details: https://anonhg.NetBSD.org/src/rev/96a9e6eeb3b9
branches: trunk
changeset: 566941:96a9e6eeb3b9
user: atatat <atatat%NetBSD.org@localhost>
date: Tue May 25 04:44:43 2004 +0000
description:
Sysctl descriptions under vfs subtree
diffstat:
sys/coda/coda_vfsops.c | 10 ++++++----
sys/fs/adosfs/advfsops.c | 7 ++++---
sys/fs/cd9660/cd9660_vfsops.c | 7 ++++---
sys/fs/filecorefs/filecore_vfsops.c | 7 ++++---
sys/fs/msdosfs/msdosfs_vfsops.c | 7 ++++---
sys/fs/ntfs/ntfs_vfsops.c | 7 ++++---
sys/fs/smbfs/smbfs_vfsops.c | 10 ++++++----
sys/fs/union/union_vfsops.c | 7 ++++---
sys/kern/vfs_subr.c | 17 +++++++++++------
sys/miscfs/fdesc/fdesc_vfsops.c | 7 ++++---
sys/miscfs/genfs/layer_vfsops.c | 7 ++++---
sys/miscfs/kernfs/kernfs_vfsops.c | 7 ++++---
sys/miscfs/nullfs/null_vfsops.c | 7 ++++---
sys/miscfs/overlay/overlay_vfsops.c | 7 ++++---
sys/miscfs/portal/portal_vfsops.c | 7 ++++---
sys/miscfs/procfs/procfs_vfsops.c | 7 ++++---
sys/miscfs/umapfs/umap_vfsops.c | 7 ++++---
sys/nfs/nfs_vfsops.c | 13 ++++++++-----
sys/ufs/ext2fs/ext2fs_vfsops.c | 7 ++++---
sys/ufs/ffs/ffs_vfsops.c | 13 ++++++++-----
sys/ufs/lfs/lfs_vfsops.c | 12 +++++++-----
sys/ufs/mfs/mfs_vfsops.c | 7 ++++---
22 files changed, 110 insertions(+), 77 deletions(-)
diffs (truncated from 716 to 300 lines):
diff -r f1197647b8a2 -r 96a9e6eeb3b9 sys/coda/coda_vfsops.c
--- a/sys/coda/coda_vfsops.c Tue May 25 04:38:36 2004 +0000
+++ b/sys/coda/coda_vfsops.c Tue May 25 04:44:43 2004 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: coda_vfsops.c,v 1.36 2004/04/27 17:37:30 jrf Exp $ */
+/* $NetBSD: coda_vfsops.c,v 1.37 2004/05/25 04:44:43 atatat Exp $ */
/*
*
@@ -45,7 +45,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: coda_vfsops.c,v 1.36 2004/04/27 17:37:30 jrf Exp $");
+__KERNEL_RCSID(0, "$NetBSD: coda_vfsops.c,v 1.37 2004/05/25 04:44:43 atatat Exp $");
#ifdef _LKM
#define NVCODA 4
@@ -567,7 +567,8 @@
CTL_VFS, CTL_EOL);
sysctl_createv(clog, 0, NULL, NULL,
CTLFLAG_PERMANENT,
- CTLTYPE_NODE, "coda", NULL,
+ CTLTYPE_NODE, "coda",
+ SYSCTL_DESCR("code vfs options"),
NULL, 0, NULL, 0,
CTL_VFS, 18, CTL_EOL);
/*
@@ -579,7 +580,8 @@
/*
sysctl_createv(clog, 0, NULL, NULL,
CTLFLAG_PERMANENT|CTLFLAG_READWRITE,
- CTLTYPE_INT, "clusterread", NULL,
+ CTLTYPE_INT, "clusterread",
+ SYSCTL_DESCR( anyone? ),
NULL, 0, &doclusterread, 0,
CTL_VFS, 18, FFS_CLUSTERREAD, CTL_EOL);
*/
diff -r f1197647b8a2 -r 96a9e6eeb3b9 sys/fs/adosfs/advfsops.c
--- a/sys/fs/adosfs/advfsops.c Tue May 25 04:38:36 2004 +0000
+++ b/sys/fs/adosfs/advfsops.c Tue May 25 04:44:43 2004 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: advfsops.c,v 1.15 2004/05/20 05:39:34 atatat Exp $ */
+/* $NetBSD: advfsops.c,v 1.16 2004/05/25 04:44:43 atatat Exp $ */
/*
* Copyright (c) 1994 Christian E. Hopps
@@ -32,7 +32,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: advfsops.c,v 1.15 2004/05/20 05:39:34 atatat Exp $");
+__KERNEL_RCSID(0, "$NetBSD: advfsops.c,v 1.16 2004/05/25 04:44:43 atatat Exp $");
#if defined(_KERNEL_OPT)
#include "opt_compat_netbsd.h"
@@ -844,7 +844,8 @@
CTL_VFS, CTL_EOL);
sysctl_createv(clog, 0, NULL, NULL,
CTLFLAG_PERMANENT,
- CTLTYPE_NODE, "adosfs", NULL,
+ CTLTYPE_NODE, "adosfs",
+ SYSCTL_DESCR("AmigaDOS file system"),
NULL, 0, NULL, 0,
CTL_VFS, 16, CTL_EOL);
/*
diff -r f1197647b8a2 -r 96a9e6eeb3b9 sys/fs/cd9660/cd9660_vfsops.c
--- a/sys/fs/cd9660/cd9660_vfsops.c Tue May 25 04:38:36 2004 +0000
+++ b/sys/fs/cd9660/cd9660_vfsops.c Tue May 25 04:44:43 2004 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: cd9660_vfsops.c,v 1.13 2004/04/27 17:37:30 jrf Exp $ */
+/* $NetBSD: cd9660_vfsops.c,v 1.14 2004/05/25 04:44:43 atatat Exp $ */
/*-
* Copyright (c) 1994
@@ -37,7 +37,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: cd9660_vfsops.c,v 1.13 2004/04/27 17:37:30 jrf Exp $");
+__KERNEL_RCSID(0, "$NetBSD: cd9660_vfsops.c,v 1.14 2004/05/25 04:44:43 atatat Exp $");
#if defined(_KERNEL_OPT)
#include "opt_compat_netbsd.h"
@@ -992,7 +992,8 @@
NULL, 0, NULL, 0,
CTL_VFS, CTL_EOL);
sysctl_createv(clog, 0, NULL, NULL,
- CTLFLAG_PERMANENT, CTLTYPE_NODE, "cd9660", NULL,
+ CTLFLAG_PERMANENT, CTLTYPE_NODE, "cd9660",
+ SYSCTL_DESCR("ISO-9660 file system"),
NULL, 0, NULL, 0,
CTL_VFS, 14, CTL_EOL);
/*
diff -r f1197647b8a2 -r 96a9e6eeb3b9 sys/fs/filecorefs/filecore_vfsops.c
--- a/sys/fs/filecorefs/filecore_vfsops.c Tue May 25 04:38:36 2004 +0000
+++ b/sys/fs/filecorefs/filecore_vfsops.c Tue May 25 04:44:43 2004 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: filecore_vfsops.c,v 1.12 2004/05/04 13:26:58 jrf Exp $ */
+/* $NetBSD: filecore_vfsops.c,v 1.13 2004/05/25 04:44:43 atatat Exp $ */
/*-
* Copyright (c) 1994 The Regents of the University of California.
@@ -66,7 +66,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: filecore_vfsops.c,v 1.12 2004/05/04 13:26:58 jrf Exp $");
+__KERNEL_RCSID(0, "$NetBSD: filecore_vfsops.c,v 1.13 2004/05/25 04:44:43 atatat Exp $");
#if defined(_KERNEL_OPT)
#include "opt_compat_netbsd.h"
@@ -743,7 +743,8 @@
CTL_VFS, CTL_EOL);
sysctl_createv(clog, 0, NULL, NULL,
CTLFLAG_PERMANENT,
- CTLTYPE_NODE, "filecore", NULL,
+ CTLTYPE_NODE, "filecore",
+ SYSCTL_DESCR("Acorn FILECORE file system"),
NULL, 0, NULL, 0,
CTL_VFS, 19, CTL_EOL);
/*
diff -r f1197647b8a2 -r 96a9e6eeb3b9 sys/fs/msdosfs/msdosfs_vfsops.c
--- a/sys/fs/msdosfs/msdosfs_vfsops.c Tue May 25 04:38:36 2004 +0000
+++ b/sys/fs/msdosfs/msdosfs_vfsops.c Tue May 25 04:44:43 2004 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: msdosfs_vfsops.c,v 1.16 2004/04/27 17:37:30 jrf Exp $ */
+/* $NetBSD: msdosfs_vfsops.c,v 1.17 2004/05/25 04:44:43 atatat Exp $ */
/*-
* Copyright (C) 1994, 1995, 1997 Wolfgang Solfrank.
@@ -48,7 +48,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: msdosfs_vfsops.c,v 1.16 2004/04/27 17:37:30 jrf Exp $");
+__KERNEL_RCSID(0, "$NetBSD: msdosfs_vfsops.c,v 1.17 2004/05/25 04:44:43 atatat Exp $");
#if defined(_KERNEL_OPT)
#include "opt_quota.h"
@@ -1043,7 +1043,8 @@
CTL_VFS, CTL_EOL);
sysctl_createv(clog, 0, NULL, NULL,
CTLFLAG_PERMANENT,
- CTLTYPE_NODE, "msdosfs", NULL,
+ CTLTYPE_NODE, "msdosfs",
+ SYSCTL_DESCR("MS-DOS file system"),
NULL, 0, NULL, 0,
CTL_VFS, 4, CTL_EOL);
/*
diff -r f1197647b8a2 -r 96a9e6eeb3b9 sys/fs/ntfs/ntfs_vfsops.c
--- a/sys/fs/ntfs/ntfs_vfsops.c Tue May 25 04:38:36 2004 +0000
+++ b/sys/fs/ntfs/ntfs_vfsops.c Tue May 25 04:44:43 2004 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ntfs_vfsops.c,v 1.20 2004/05/04 13:26:58 jrf Exp $ */
+/* $NetBSD: ntfs_vfsops.c,v 1.21 2004/05/25 04:44:43 atatat Exp $ */
/*-
* Copyright (c) 1998, 1999 Semen Ustimenko
@@ -29,7 +29,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ntfs_vfsops.c,v 1.20 2004/05/04 13:26:58 jrf Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ntfs_vfsops.c,v 1.21 2004/05/25 04:44:43 atatat Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -152,7 +152,8 @@
CTL_VFS, CTL_EOL);
sysctl_createv(clog, 0, NULL, NULL,
CTLFLAG_PERMANENT,
- CTLTYPE_NODE, "ntfs", NULL,
+ CTLTYPE_NODE, "ntfs",
+ SYSCTL_DESCR("NTFS file system"),
NULL, 0, NULL, 0,
CTL_VFS, 20, CTL_EOL);
/*
diff -r f1197647b8a2 -r 96a9e6eeb3b9 sys/fs/smbfs/smbfs_vfsops.c
--- a/sys/fs/smbfs/smbfs_vfsops.c Tue May 25 04:38:36 2004 +0000
+++ b/sys/fs/smbfs/smbfs_vfsops.c Tue May 25 04:44:43 2004 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: smbfs_vfsops.c,v 1.41 2004/05/20 05:39:34 atatat Exp $ */
+/* $NetBSD: smbfs_vfsops.c,v 1.42 2004/05/25 04:44:44 atatat Exp $ */
/*
* Copyright (c) 2000-2001, Boris Popov
@@ -35,7 +35,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: smbfs_vfsops.c,v 1.41 2004/05/20 05:39:34 atatat Exp $");
+__KERNEL_RCSID(0, "$NetBSD: smbfs_vfsops.c,v 1.42 2004/05/25 04:44:44 atatat Exp $");
#ifdef _KERNEL_OPT
#include "opt_quota.h"
@@ -78,14 +78,16 @@
CTL_VFS, CTL_EOL);
sysctl_createv(clog, 0, NULL, &smb,
CTLFLAG_PERMANENT,
- CTLTYPE_NODE, "samba", NULL,
+ CTLTYPE_NODE, "samba",
+ SYSCTL_DESCR("SMB/CIFS remote file system"),
NULL, 0, NULL, 0,
CTL_VFS, CTL_CREATE, CTL_EOL);
if (smb != NULL)
sysctl_createv(clog, 0, &smb, NULL,
CTLFLAG_PERMANENT|CTLFLAG_IMMEDIATE,
- CTLTYPE_INT, "version", NULL,
+ CTLTYPE_INT, "version",
+ SYSCTL_DESCR("smbfs version"),
NULL, SMBFS_VERSION, NULL, 0,
CTL_CREATE, CTL_EOL);
}
diff -r f1197647b8a2 -r 96a9e6eeb3b9 sys/fs/union/union_vfsops.c
--- a/sys/fs/union/union_vfsops.c Tue May 25 04:38:36 2004 +0000
+++ b/sys/fs/union/union_vfsops.c Tue May 25 04:44:43 2004 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: union_vfsops.c,v 1.17 2004/05/24 03:09:48 christos Exp $ */
+/* $NetBSD: union_vfsops.c,v 1.18 2004/05/25 04:44:44 atatat Exp $ */
/*
* Copyright (c) 1994 The Regents of the University of California.
@@ -77,7 +77,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: union_vfsops.c,v 1.17 2004/05/24 03:09:48 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: union_vfsops.c,v 1.18 2004/05/25 04:44:44 atatat Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -602,7 +602,8 @@
CTL_VFS, CTL_EOL);
sysctl_createv(clog, 0, NULL, NULL,
CTLFLAG_PERMANENT,
- CTLTYPE_NODE, "union", NULL,
+ CTLTYPE_NODE, "union",
+ SYSCTL_DESCR("Union file system"),
NULL, 0, NULL, 0,
CTL_VFS, 15, CTL_EOL);
/*
diff -r f1197647b8a2 -r 96a9e6eeb3b9 sys/kern/vfs_subr.c
--- a/sys/kern/vfs_subr.c Tue May 25 04:38:36 2004 +0000
+++ b/sys/kern/vfs_subr.c Tue May 25 04:44:43 2004 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: vfs_subr.c,v 1.225 2004/05/06 22:01:14 yamt Exp $ */
+/* $NetBSD: vfs_subr.c,v 1.226 2004/05/25 04:44:44 atatat Exp $ */
/*-
* Copyright (c) 1997, 1998 The NetBSD Foundation, Inc.
@@ -78,7 +78,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: vfs_subr.c,v 1.225 2004/05/06 22:01:14 yamt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: vfs_subr.c,v 1.226 2004/05/25 04:44:44 atatat Exp $");
#include "opt_inet.h"
#include "opt_ddb.h"
@@ -2108,20 +2108,24 @@
CTL_VFS, CTL_EOL);
sysctl_createv(clog, 0, NULL, NULL,
CTLFLAG_PERMANENT,
- CTLTYPE_NODE, "generic", NULL,
+ CTLTYPE_NODE, "generic",
+ SYSCTL_DESCR("Non-specific vfs related information"),
NULL, 0, NULL, 0,
CTL_VFS, VFS_GENERIC, CTL_EOL);
#if defined(COMPAT_09) || defined(COMPAT_43) || defined(COMPAT_44)
sysctl_createv(clog, 0, NULL, NULL,
CTLFLAG_PERMANENT|CTLFLAG_IMMEDIATE,
- CTLTYPE_INT, "maxtypenum", NULL,
+ CTLTYPE_INT, "maxtypenum",
+ SYSCTL_DESCR("Highest valid filesystem type number"),
NULL, nmountcompatnames, NULL, 0,
CTL_VFS, VFS_GENERIC, VFS_MAXTYPENUM, CTL_EOL);
#endif
sysctl_createv(clog, 0, NULL, NULL,
CTLFLAG_PERMANENT|CTLFLAG_READWRITE,
- CTLTYPE_INT, "usermount", NULL,
+ CTLTYPE_INT, "usermount",
+ SYSCTL_DESCR("Whether unprivileged users may mount "
+ "filesystems"),
NULL, 0, &dovfsusermount, 0,
CTL_VFS, VFS_GENERIC, VFS_USERMOUNT, CTL_EOL);
sysctl_createv(clog, 0, NULL, NULL,
@@ -2133,7 +2137,8 @@
#if defined(COMPAT_09) || defined(COMPAT_43) || defined(COMPAT_44)
sysctl_createv(clog, 0, NULL, NULL,
CTLFLAG_PERMANENT,
- CTLTYPE_STRUCT, "conf", NULL,
+ CTLTYPE_STRUCT, "conf",
+ SYSCTL_DESCR("Filesystem configuration information"),
sysctl_vfs_generic_conf, 0, NULL,
sizeof(struct vfsconf),
CTL_VFS, VFS_GENERIC, VFS_CONF, CTL_EOL);
diff -r f1197647b8a2 -r 96a9e6eeb3b9 sys/miscfs/fdesc/fdesc_vfsops.c
Home |
Main Index |
Thread Index |
Old Index