aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--man2/mount.212
1 files changed, 12 insertions, 0 deletions
diff --git a/man2/mount.2 b/man2/mount.2
index 4438a2bc6c..7faa367eb3 100644
--- a/man2/mount.2
+++ b/man2/mount.2
@@ -641,6 +641,10 @@ the filesystem implementation was compiled with read-only support;
or errors were detected when initially mounting the filesystem,
so that it was marked read-only
and can't be remounted as read-write (until the errors are fixed).
+.IP
+Some filesystems instead return the error
+.BR EROFS
+on an attempt to mount a read-only filesystem.
.TP
.B EACCES
The block device
@@ -766,6 +770,14 @@ is out of range.
.TP
.B EPERM
The caller does not have the required privileges.
+.TP
+.B EROFS
+Mounting a read-only filesystem was attempted without giving the
+.B MS_RDONLY
+flag.
+See
+.BR EACCES ,
+above.
.SH VERSIONS
The definitions of
.BR MS_DIRSYNC ,