Module Name:    src
Committed By:   wiz
Date:           Sun May 14 12:30:37 UTC 2017

Modified Files:
        src/lib/libc/sys: execve.2 getdents.2 intro.2 lfs_markv.2
            lfs_segclean.2 lfs_segwait.2 mount.2 mprotect.2 open.2 statvfs.2
            sync.2 truncate.2 undelete.2

Log Message:
file system police.


To generate a diff of this commit:
cvs rdiff -u -r1.40 -r1.41 src/lib/libc/sys/execve.2
cvs rdiff -u -r1.24 -r1.25 src/lib/libc/sys/getdents.2
cvs rdiff -u -r1.58 -r1.59 src/lib/libc/sys/intro.2
cvs rdiff -u -r1.11 -r1.12 src/lib/libc/sys/lfs_markv.2
cvs rdiff -u -r1.8 -r1.9 src/lib/libc/sys/lfs_segclean.2 \
    src/lib/libc/sys/lfs_segwait.2
cvs rdiff -u -r1.49 -r1.50 src/lib/libc/sys/mount.2
cvs rdiff -u -r1.25 -r1.26 src/lib/libc/sys/mprotect.2
cvs rdiff -u -r1.56 -r1.57 src/lib/libc/sys/open.2
cvs rdiff -u -r1.5 -r1.6 src/lib/libc/sys/statvfs.2
cvs rdiff -u -r1.17 -r1.18 src/lib/libc/sys/sync.2
cvs rdiff -u -r1.30 -r1.31 src/lib/libc/sys/truncate.2
cvs rdiff -u -r1.16 -r1.17 src/lib/libc/sys/undelete.2

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/lib/libc/sys/execve.2
diff -u src/lib/libc/sys/execve.2:1.40 src/lib/libc/sys/execve.2:1.41
--- src/lib/libc/sys/execve.2:1.40	Mon May 31 12:16:20 2010
+++ src/lib/libc/sys/execve.2	Sun May 14 12:30:37 2017
@@ -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 @@ in
 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

Index: src/lib/libc/sys/getdents.2
diff -u src/lib/libc/sys/getdents.2:1.24 src/lib/libc/sys/getdents.2:1.25
--- src/lib/libc/sys/getdents.2:1.24	Sat Jan 23 08:17:18 2016
+++ src/lib/libc/sys/getdents.2	Sun May 14 12:30:37 2017
@@ -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 @@ referenced by the file descriptor
 .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 @@ must be greater than or equal to the
 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

Index: src/lib/libc/sys/intro.2
diff -u src/lib/libc/sys/intro.2:1.58 src/lib/libc/sys/intro.2:1.59
--- src/lib/libc/sys/intro.2:1.58	Wed Nov  2 03:21:38 2016
+++ src/lib/libc/sys/intro.2	Sun May 14 12:30:37 2017
@@ -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 @@ was exhausted.
 .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 @@ Attempted a file operation on a file of 
 .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 @@ program.
 .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

Index: src/lib/libc/sys/lfs_markv.2
diff -u src/lib/libc/sys/lfs_markv.2:1.11 src/lib/libc/sys/lfs_markv.2:1.12
--- src/lib/libc/sys/lfs_markv.2:1.11	Wed Apr 30 13:10:51 2008
+++ src/lib/libc/sys/lfs_markv.2	Sun May 14 12:30:37 2017
@@ -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 @@ the block will not be written to disk, b
 .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 @@ indicates:
 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.

Index: src/lib/libc/sys/lfs_segclean.2
diff -u src/lib/libc/sys/lfs_segclean.2:1.8 src/lib/libc/sys/lfs_segclean.2:1.9
--- src/lib/libc/sys/lfs_segclean.2:1.8	Wed Apr 30 13:10:51 2008
+++ src/lib/libc/sys/lfs_segclean.2	Sun May 14 12:30:37 2017
@@ -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 @@ indicates:
 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.
Index: src/lib/libc/sys/lfs_segwait.2
diff -u src/lib/libc/sys/lfs_segwait.2:1.8 src/lib/libc/sys/lfs_segwait.2:1.9
--- src/lib/libc/sys/lfs_segwait.2:1.8	Wed Apr 30 13:10:51 2008
+++ src/lib/libc/sys/lfs_segwait.2	Sun May 14 12:30:37 2017
@@ -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

Index: src/lib/libc/sys/mount.2
diff -u src/lib/libc/sys/mount.2:1.49 src/lib/libc/sys/mount.2:1.50
--- src/lib/libc/sys/mount.2:1.49	Fri Nov 18 21:04:21 2011
+++ src/lib/libc/sys/mount.2	Sun May 14 12:30:37 2017
@@ -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 @@ suppress default semantics which affect 
 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 @@ Recognize the permission of symbolic lin
 .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 @@ The
 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 @@ For example,
 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 @@ to obtain the node
 .\" .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 @@ struct mfs_args {
 .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 @@ will fail when one of the following occu
 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 @@ Prior to
 .Nx 4.0
 the
 .Nm
-call was used to export NFS filesystems.
+call was used to export NFS file systems.
 This is now done through
 .Fn nfssvc .
 .Pp
@@ -439,4 +439,4 @@ argument was added for
 .Sh BUGS
 Some of the error codes need translation to more obvious messages.
 .Pp
-Far more filesystems are supported than those those listed.
+Far more file systems are supported than those those listed.

Index: src/lib/libc/sys/mprotect.2
diff -u src/lib/libc/sys/mprotect.2:1.25 src/lib/libc/sys/mprotect.2:1.26
--- src/lib/libc/sys/mprotect.2:1.25	Sat May  6 21:34:51 2017
+++ src/lib/libc/sys/mprotect.2	Sun May 14 12:30:37 2017
@@ -1,4 +1,4 @@
-.\"	$NetBSD: mprotect.2,v 1.25 2017/05/06 21:34:51 joerg Exp $
+.\"	$NetBSD: mprotect.2,v 1.26 2017/05/14 12:30:37 wiz Exp $
 .\"
 .\" Copyright (c) 1991, 1993
 .\"	The Regents of the University of California.  All rights reserved.
@@ -79,7 +79,7 @@ A memory protection violation occurred.
 .Pp
 The
 .Dv PROT_EXEC
-flag was attempted on pages which belong to a filesystem mounted with the
+flag was attempted on pages which belong to a file system mounted with the
 .Dv NOEXEC
 flag.
 .Pp

Index: src/lib/libc/sys/open.2
diff -u src/lib/libc/sys/open.2:1.56 src/lib/libc/sys/open.2:1.57
--- src/lib/libc/sys/open.2:1.56	Mon Jul 29 18:37:16 2013
+++ src/lib/libc/sys/open.2	Sun May 14 12:30:37 2017
@@ -1,4 +1,4 @@
-.\"	$NetBSD: open.2,v 1.56 2013/07/29 18:37:16 njoly Exp $
+.\"	$NetBSD: open.2,v 1.57 2017/05/14 12:30:37 wiz Exp $
 .\"
 .\" Copyright (c) 1980, 1991, 1993
 .\"	The Regents of the University of California.  All rights reserved.
@@ -263,7 +263,7 @@ for an exclusive lock.
 If creating a file with
 .Dv O_CREAT ,
 the request for the lock will never fail
-(provided that the underlying filesystem supports locking).
+(provided that the underlying file system supports locking).
 .Pp
 If
 .Fn open
@@ -392,7 +392,7 @@ is set and no process has the file open 
 .Dv O_SHLOCK
 or
 .Dv O_EXLOCK
-is specified but the underlying filesystem does not support locking; or
+is specified but the underlying file system does not support locking; or
 an attempt was made to open a socket (not currently implemented).
 .It Bq Er EPERM
 The file's flags (see

Index: src/lib/libc/sys/statvfs.2
diff -u src/lib/libc/sys/statvfs.2:1.5 src/lib/libc/sys/statvfs.2:1.6
--- src/lib/libc/sys/statvfs.2:1.5	Mon May 31 12:16:20 2010
+++ src/lib/libc/sys/statvfs.2	Sun May 14 12:30:37 2017
@@ -1,4 +1,4 @@
-.\"	$NetBSD: statvfs.2,v 1.5 2010/05/31 12:16:20 njoly Exp $
+.\"	$NetBSD: statvfs.2,v 1.6 2017/05/14 12:30:37 wiz Exp $
 .\"
 .\" Copyright (c) 1989, 1991, 1993
 .\"	The Regents of the University of California.  All rights reserved.
@@ -82,7 +82,7 @@ and
 When
 .Dv ST_NOWAIT
 is specified, then only cached statistics are returned.
-This can result in significant savings on non-local filesystems, where
+This can result in significant savings on non-local file systems, where
 gathering statistics involves a network communication.
 .Pp
 The

Index: src/lib/libc/sys/sync.2
diff -u src/lib/libc/sys/sync.2:1.17 src/lib/libc/sys/sync.2:1.18
--- src/lib/libc/sys/sync.2:1.17	Wed Mar 25 06:46:21 2009
+++ src/lib/libc/sys/sync.2	Sun May 14 12:30:37 2017
@@ -1,4 +1,4 @@
-.\"	$NetBSD: sync.2,v 1.17 2009/03/25 06:46:21 wiz Exp $
+.\"	$NetBSD: sync.2,v 1.18 2017/05/14 12:30:37 wiz Exp $
 .\"
 .\" Copyright (c) 1980, 1991, 1993
 .\"	The Regents of the University of California.  All rights reserved.
@@ -55,7 +55,7 @@ kernel thread
 ensures that dirty buffers are synced to disk
 eventually.
 By default, a dirty buffer is synced after 30 seconds,
-but some filesystems exploit
+but some file systems exploit
 .Nm ioflush
 features to sync directory data and metadata faster
 (after 15 and 10 seconds, respectively).

Index: src/lib/libc/sys/truncate.2
diff -u src/lib/libc/sys/truncate.2:1.30 src/lib/libc/sys/truncate.2:1.31
--- src/lib/libc/sys/truncate.2:1.30	Fri Jul 25 08:44:54 2014
+++ src/lib/libc/sys/truncate.2	Sun May 14 12:30:37 2017
@@ -1,4 +1,4 @@
-.\"	$NetBSD: truncate.2,v 1.30 2014/07/25 08:44:54 wiz Exp $
+.\"	$NetBSD: truncate.2,v 1.31 2017/05/14 12:30:37 wiz Exp $
 .\"
 .\" Copyright (c) 1983, 1991, 1993
 .\"	The Regents of the University of California.  All rights reserved.
@@ -85,7 +85,7 @@ An I/O error occurred updating the inode
 .It Bq Er EISDIR
 The named file is a directory.
 .It Bq Er ENOSPC
-There was no space in the filesystem to complete the operation.
+There was no space in the file system to complete the operation.
 .It Bq Er EROFS
 The named file resides on a read-only file system.
 .It Bq Er ETXTBSY

Index: src/lib/libc/sys/undelete.2
diff -u src/lib/libc/sys/undelete.2:1.16 src/lib/libc/sys/undelete.2:1.17
--- src/lib/libc/sys/undelete.2:1.16	Tue Nov 11 08:10:02 2014
+++ src/lib/libc/sys/undelete.2	Sun May 14 12:30:37 2017
@@ -1,4 +1,4 @@
-.\"	$NetBSD: undelete.2,v 1.16 2014/11/11 08:10:02 njoly Exp $
+.\"	$NetBSD: undelete.2,v 1.17 2017/05/14 12:30:37 wiz Exp $
 .\"
 .\" Copyright (c) 1994
 .\"	The Regents of the University of California.  All rights reserved.
@@ -76,7 +76,7 @@
 Currently
 .Nm
 works only when the named object
-is a whiteout in a union filesystem.
+is a whiteout in a union file system.
 The system call removes the whiteout causing
 any objects in a lower layer of the
 union stack to become visible once more.

Reply via email to