Source-Changes-HG archive

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

[src/trunk]: src/lib/libc/sys file system police.



details:   https://anonhg.NetBSD.org/src/rev/9c4f1768b799
branches:  trunk
changeset: 823921:9c4f1768b799
user:      wiz <wiz%NetBSD.org@localhost>
date:      Sun May 14 12:30:37 2017 +0000

description:
file system police.

diffstat:

 lib/libc/sys/execve.2       |   4 +-
 lib/libc/sys/getdents.2     |   8 +++---
 lib/libc/sys/intro.2        |  10 ++++----
 lib/libc/sys/lfs_markv.2    |   6 ++--
 lib/libc/sys/lfs_segclean.2 |   6 ++--
 lib/libc/sys/lfs_segwait.2  |   6 ++--
 lib/libc/sys/mount.2        |  48 ++++++++++++++++++++++----------------------
 lib/libc/sys/mprotect.2     |   4 +-
 lib/libc/sys/open.2         |   6 ++--
 lib/libc/sys/statvfs.2      |   4 +-
 lib/libc/sys/sync.2         |   4 +-
 lib/libc/sys/truncate.2     |   4 +-
 lib/libc/sys/undelete.2     |   4 +-
 13 files changed, 57 insertions(+), 57 deletions(-)

diffs (truncated from 426 to 300 lines):

diff -r cd46982a6df2 -r 9c4f1768b799 lib/libc/sys/execve.2
--- a/lib/libc/sys/execve.2     Sun May 14 12:29:10 2017 +0000
+++ b/lib/libc/sys/execve.2     Sun May 14 12:30:37 2017 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: execve.2,v 1.40 2010/05/31 12:16:20 njoly Exp $
+.\"    $NetBSD: execve.2,v 1.41 2017/05/14 12:30:37 wiz Exp $
 .\"
 .\" Copyright (c) 1980, 1991, 1993
 .\"    The Regents of the University of California.  All rights reserved.
@@ -220,7 +220,7 @@
 Search permission is denied for a component of the path prefix,
 the new process file is not an ordinary file,
 its file mode denies execute permission, or
-it is on a filesystem mounted with execution
+it is on a file system mounted with execution
 disabled
 .Dv ( MNT_NOEXEC
 in
diff -r cd46982a6df2 -r 9c4f1768b799 lib/libc/sys/getdents.2
--- a/lib/libc/sys/getdents.2   Sun May 14 12:29:10 2017 +0000
+++ b/lib/libc/sys/getdents.2   Sun May 14 12:30:37 2017 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: getdents.2,v 1.24 2016/01/23 08:17:18 dholland Exp $
+.\"    $NetBSD: getdents.2,v 1.25 2017/05/14 12:30:37 wiz Exp $
 .\"
 .\" Copyright (c) 1989, 1991, 1993
 .\"    The Regents of the University of California.  All rights reserved.
@@ -34,7 +34,7 @@
 .Os
 .Sh NAME
 .Nm getdents
-.Nd "get directory entries in a filesystem independent format"
+.Nd "get directory entries in a file system independent format"
 .Sh LIBRARY
 .Lb libc
 .Sh SYNOPSIS
@@ -48,7 +48,7 @@
 .Fa fd
 into the buffer pointed to by
 .Fa buf ,
-in a filesystem independent format.
+in a file system independent format.
 Up to
 .Fa nbytes
 of data will be transferred.
@@ -57,7 +57,7 @@
 block size associated with the file,
 see
 .Xr stat 2 .
-Some filesystems may not support
+Some file systems may not support
 .Fn getdents
 with buffers smaller than this size.
 .Pp
diff -r cd46982a6df2 -r 9c4f1768b799 lib/libc/sys/intro.2
--- a/lib/libc/sys/intro.2      Sun May 14 12:29:10 2017 +0000
+++ b/lib/libc/sys/intro.2      Sun May 14 12:30:37 2017 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: intro.2,v 1.58 2016/11/02 03:21:38 pgoyette Exp $
+.\"    $NetBSD: intro.2,v 1.59 2017/05/14 12:30:37 wiz Exp $
 .\"
 .\" Copyright (c) 1980, 1983, 1986, 1991, 1993
 .\"    The Regents of the University of California.  All rights reserved.
@@ -419,7 +419,7 @@
 .It Er 70 ESTALE Em "Stale NFS file handle" .
 An attempt was made to access an open file (on an
 .Tn NFS
-filesystem)
+file system)
 which is now unavailable as referenced by the file descriptor.
 This may indicate the file was deleted on the
 .Tn NFS
@@ -458,11 +458,11 @@
 .It Er 80 EAUTH Em "Authentication error" .
 Attempted to use an invalid authentication ticket to mount an
 .Tn NFS
-filesystem.
+file system.
 .It Er 81 ENEEDAUTH Em "Need authenticator" .
 An authentication ticket must be obtained before the given
 .Tn NFS
-filesystem may be mounted.
+file system may be mounted.
 .It Er 82 EIDRM Em "Identifier removed" .
 An IPC identifier was removed while the current process was waiting on it.
 .It Er 83 ENOMSG Em "No message of the desired type" .
@@ -659,7 +659,7 @@
 .It Sy nfsio , nfskqpoll
 NFS handing daemons.
 .It Sy lfs_writer
-Log filesystem writer.
+Log file system writer.
 .It Sy pagedaemon
 The page daemon.
 .It Sy raidX , raidioX , raid_parity , raid_recon , raid_reconip , raid_copyback
diff -r cd46982a6df2 -r 9c4f1768b799 lib/libc/sys/lfs_markv.2
--- a/lib/libc/sys/lfs_markv.2  Sun May 14 12:29:10 2017 +0000
+++ b/lib/libc/sys/lfs_markv.2  Sun May 14 12:30:37 2017 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: lfs_markv.2,v 1.11 2008/04/30 13:10:51 martin Exp $
+.\"    $NetBSD: lfs_markv.2,v 1.12 2017/05/14 12:30:37 wiz Exp $
 .\"
 .\" Copyright (c) 2000 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -60,7 +60,7 @@
 .Pp
 The
 .Fa fsidp
-argument contains the id of the filesystem to which the inodes and
+argument contains the id of the file system to which the inodes and
 blocks belong.
 The
 .Fa bi_bp
@@ -103,7 +103,7 @@
 points outside the process's allocated address space.
 .It Bq Er EINVAL
 .Fa *fsidp
-does not specify a valid filesystem.
+does not specify a valid file system.
 .It Bq Er EBUSY
 One or more of the inodes whose blocks were to be written was locked,
 and its blocks were not rewritten.
diff -r cd46982a6df2 -r 9c4f1768b799 lib/libc/sys/lfs_segclean.2
--- a/lib/libc/sys/lfs_segclean.2       Sun May 14 12:29:10 2017 +0000
+++ b/lib/libc/sys/lfs_segclean.2       Sun May 14 12:30:37 2017 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: lfs_segclean.2,v 1.8 2008/04/30 13:10:51 martin Exp $
+.\"    $NetBSD: lfs_segclean.2,v 1.9 2017/05/14 12:30:37 wiz Exp $
 .\"
 .\" Copyright (c) 2000 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -43,7 +43,7 @@
 .Fn lfs_segclean
 marks segment number
 .Fa segment
-in LFS filesystem
+in LFS file system
 .Fa *fsidp
 "clean" or available for writing.
 .Sh RETURN VALUES
@@ -59,7 +59,7 @@
 points outside the process's allocated address space.
 .It Bq Er EINVAL
 .Fa *fsidp
-does not specify a valid filesystem.
+does not specify a valid file system.
 .It Bq Er EBUSY
 .Fa segment
 is marked SU_ACTIVE, meaning that it does not yet belong to a valid checkpoint.
diff -r cd46982a6df2 -r 9c4f1768b799 lib/libc/sys/lfs_segwait.2
--- a/lib/libc/sys/lfs_segwait.2        Sun May 14 12:29:10 2017 +0000
+++ b/lib/libc/sys/lfs_segwait.2        Sun May 14 12:30:37 2017 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: lfs_segwait.2,v 1.8 2008/04/30 13:10:51 martin Exp $
+.\"    $NetBSD: lfs_segwait.2,v 1.9 2017/05/14 12:30:37 wiz Exp $
 .\"
 .\" Copyright (c) 2000 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -41,12 +41,12 @@
 .Fn lfs_segwait "fsid_t *fsidp" "struct timeval *tv"
 .Sh DESCRIPTION
 .Fn lfs_segwait
-blocks until a new segment is acquired for writing by the filesystem
+blocks until a new segment is acquired for writing by the file system
 specified by
 .Fa *fsidp
 or if
 .Fa *fsidp
-is \-1, until a segment is acquired for writing by any LFS filesystem.
+is \-1, until a segment is acquired for writing by any LFS file system.
 .Pp
 If
 .Fa timeout
diff -r cd46982a6df2 -r 9c4f1768b799 lib/libc/sys/mount.2
--- a/lib/libc/sys/mount.2      Sun May 14 12:29:10 2017 +0000
+++ b/lib/libc/sys/mount.2      Sun May 14 12:30:37 2017 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: mount.2,v 1.49 2011/11/18 21:04:21 christos Exp $
+.\"    $NetBSD: mount.2,v 1.50 2017/05/14 12:30:37 wiz Exp $
 .\"
 .\" Copyright (c) 1980, 1989, 1993
 .\"    The Regents of the University of California.  All rights reserved.
@@ -82,12 +82,12 @@
 The file system should be treated as read-only;
 even the super-user may not write on it.
 .It Dv MNT_UNION
-Union with underlying filesystem instead of obscuring it.
+Union with underlying file system instead of obscuring it.
 .It Dv MNT_HIDDEN
 Cause the
 .Xr df 1
 program, and perhaps others, to, by default,
-exclude this filesystem from its output.
+exclude this file system from its output.
 .It Dv MNT_NOEXEC
 Do not allow files to be executed from the file system.
 .It Dv MNT_NOSUID
@@ -109,22 +109,22 @@
 .It Dv MNT_SYNCHRONOUS
 All I/O to the file system should be done synchronously.
 This will slow I/O performance considerably, but
-enhances overall filesystem reliability.
+enhances overall file system reliability.
 .It Dv MNT_ASYNC
 All I/O to the file system should be done asynchronously.
 This vastly improves I/O throughput,
-but at a cost of making the filesystem likely to be
+but at a cost of making the file system likely to be
 completely unrecoverable should the system crash while
 unwritten data is pending in kernel buffers.
 .It Dv MNT_LOG
-Use a filesystem journal.
+Use a file system journal.
 .Dv MNT_LOG
 causes a journal (or log) to be created in the
-filesystem, creating a record of meta-data writes to be
+file system, creating a record of meta-data writes to be
 performed, allowing the actual writes to be deferred.
 This improves performance in most cases.
 .It MNT_EXTATTR
-Enable extended attributes, if the filesystem supports them and
+Enable extended attributes, if the file system supports them and
 does not enable them by default.
 Currently this is only the case for UFS1.
 .El
@@ -141,7 +141,7 @@
 flag allows the mount flags to be changed without requiring
 that the file system be unmounted and remounted.
 A conversion from read-write to read-only will fail if any files
-are currently open for writing on the filesystem, unless the
+are currently open for writing on the file system, unless the
 .Dv MNT_FORCE
 flag is also applied.
 Some file systems may not allow all flags to be changed.
@@ -149,16 +149,16 @@
 some file systems will not allow a change from read-write to read-only.
 The
 .Dv MNT_RELOAD
-flag causes kernel filesystem data to be reloaded from
-the filesystem device.
-It is only permitted on filesystems mounted read-only.
-Its purpose is to notify the system that the filesystem
+flag causes kernel file system data to be reloaded from
+the file system device.
+It is only permitted on file systems mounted read-only.
+Its purpose is to notify the system that the file system
 data has been modified by some external process.
 The
 .Dv MNT_GETARGS
-flag does not alter any of the mounted filesystem's properties,
-but returns the filesystem-specific arguments for the currently mounted
-filesystem.
+flag does not alter any of the mounted file system's properties,
+but returns the file system-specific arguments for the currently mounted
+file system.
 .Pp
 The
 .Fa type
@@ -172,7 +172,7 @@
 .\" .Bd -literal -offset indent
 vfs.generic.fstypes.
 .\" XXX from lite-2:
-.\" The types of filesystems known to the system can be obtained with
+.\" The types of file systems known to the system can be obtained with
 .\" .Xr sysctl 8
 .\" by using the command:
 .\" .Bd -literal -offset indent
@@ -227,13 +227,13 @@
 .Ed
 .\" XXX from lite-2:
 .\" The format for these argument structures is described in the
-.\" manual page for each filesystem.
-.\" By convention filesystem manual pages are named
-.\" by prefixing ``mount_'' to the name of the filesystem as returned by
+.\" manual page for each file system.
+.\" By convention file system manual pages are named
+.\" by prefixing ``mount_'' to the name of the file system as returned by
 .\" .Xr sysctl 8 .
 .\" Thus the
 .\" .Nm NFS
-.\" filesystem is described by the
+.\" file system is described by the
 .\" .Xr mount_nfs 8
 .\" manual page.
 .Pp
@@ -276,7 +276,7 @@
 Another process currently holds a reference to
 .Fa dir ,
 or for an update from read-write to read-only
-there are files on the filesystem open for writes.
+there are files on the file system open for writes.
 .It Bq Er EFAULT
 .Fa dir
 points outside the process's allocated address space.
@@ -428,7 +428,7 @@
 .Nx 4.0
 the
 .Nm
-call was used to export NFS filesystems.
+call was used to export NFS file systems.



Home | Main Index | Thread Index | Old Index