summaryrefslogtreecommitdiff
path: root/lib/libc/sys/mount.2
diff options
context:
space:
mode:
authorPaul Janzen <pjanzen@cvs.openbsd.org>1999-09-25 21:28:05 +0000
committerPaul Janzen <pjanzen@cvs.openbsd.org>1999-09-25 21:28:05 +0000
commitc0ed821c43d3c3bcbcc348649c6bfcdf25da5c2a (patch)
tree36f134ec2568a4db89f0767e503c48d7f2e03a46 /lib/libc/sys/mount.2
parent98d37025ece07e080f9f43b03d71b4c313dd714b (diff)
grammar
Diffstat (limited to 'lib/libc/sys/mount.2')
-rw-r--r--lib/libc/sys/mount.219
1 files changed, 10 insertions, 9 deletions
diff --git a/lib/libc/sys/mount.2 b/lib/libc/sys/mount.2
index d0f32d3c429..252f0e5eb94 100644
--- a/lib/libc/sys/mount.2
+++ b/lib/libc/sys/mount.2
@@ -1,4 +1,4 @@
-.\" $OpenBSD: mount.2,v 1.16 1999/07/05 06:08:05 aaron Exp $
+.\" $OpenBSD: mount.2,v 1.17 1999/09/25 21:28:04 pjanzen Exp $
.\" $NetBSD: mount.2,v 1.12 1996/02/29 23:47:48 jtc Exp $
.\"
.\" Copyright (c) 1980, 1989, 1993
@@ -62,7 +62,7 @@ The argument
.Fa type
tells the kernel how to interpret
.Fa data
-(See
+(see
.Fa type
below).
The contents of the filesystem
@@ -71,7 +71,7 @@ become available through the new mount point
Any files in
.Fa dir
at the time
-of a successful mount are swept under the carpet so to speak, and
+of a successful mount are swept under the carpet, so to speak, and
are unavailable until the filesystem is unmounted.
.Pp
The following
@@ -80,8 +80,8 @@ may be specified to
suppress default semantics which affect filesystem access.
.Bl -tag -width MNT_SYNCHRONOUS
.It Dv MNT_RDONLY
-The filesystem should be treated as read-only;
-Even the super-user may not write on it.
+The filesystem should be treated as read-only:
+even the super-user may not write to it.
.It Dv MNT_NOATIME
Do not update the access time on files in the filesystem unless
the modification or status change times are also being updated.
@@ -92,7 +92,9 @@ Do not honor setuid or setgid bits on files when executing them.
.It Dv MNT_NODEV
Do not interpret special files on the filesystem.
.It Dv MNT_UNION
-Union with underlying filesystem instead of obscuring it.
+Mount in such a way that the contents of the underlying filesystem are
+not (totally) obscured (see
+.Xr mount_union 8 ) .
.It Dv MNT_SYNCHRONOUS
All I/O to the filesystem should be done synchronously.
.El
@@ -180,15 +182,14 @@ Active special devices continue to work,
but any further accesses to any other active files result in errors
even if the filesystem is later remounted.
.Sh RETURN VALUES
-The
.Fn mount
-returns the value 0 if the mount was successful, otherwise \-1 is returned
+returns the value 0 if the mount was successful; otherwise, \-1 is returned
and the variable
.Va errno
is set to indicate the error.
.Pp
.Fn unmount
-returns the value 0 if the unmount succeeded; otherwise \-1 is returned
+returns the value 0 if the unmount was successful; otherwise, \-1 is returned
and the variable
.Va errno
is set to indicate the error.