summaryrefslogtreecommitdiff
path: root/lib/libc/sys
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2003-06-09 17:17:28 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2003-06-09 17:17:28 +0000
commit8a816c80ee463a5e1d3202ada3375c9bae77c256 (patch)
tree40821ddde3123630264666dc54622c8b086b4191 /lib/libc/sys
parent1096c1c6e765e2f4103ca695ba6a3d0462860a38 (diff)
Mention that you can get EPERM when trying to mount an unclean filesystem.
Diffstat (limited to 'lib/libc/sys')
-rw-r--r--lib/libc/sys/mount.26
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/libc/sys/mount.2 b/lib/libc/sys/mount.2
index 04a1428f6c2..d827c3214c2 100644
--- a/lib/libc/sys/mount.2
+++ b/lib/libc/sys/mount.2
@@ -1,4 +1,4 @@
-.\" $OpenBSD: mount.2,v 1.26 2003/06/02 20:18:39 millert Exp $
+.\" $OpenBSD: mount.2,v 1.27 2003/06/09 17:17:27 millert Exp $
.\" $NetBSD: mount.2,v 1.12 1996/02/29 23:47:48 jtc Exp $
.\"
.\" Copyright (c) 1980, 1989, 1993
@@ -250,6 +250,10 @@ will fail when one of the following occurs:
.Bl -tag -width [ENAMETOOLONG]
.It Bq Er EPERM
The caller is not the superuser.
+.It Bq Er EPERM
+The filesystem was not unmounted cleanly and
+.Dv MNT_FORCE
+was not specified.
.It Bq Er ENAMETOOLONG
A component of a pathname exceeded
.Dv {NAME_MAX}