aboutsummaryrefslogtreecommitdiff
path: root/lib/libsys/write.2
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libsys/write.2')
-rw-r--r--lib/libsys/write.210
1 files changed, 3 insertions, 7 deletions
diff --git a/lib/libsys/write.2 b/lib/libsys/write.2
index 5fea75150e3b..d2ff41ceead9 100644
--- a/lib/libsys/write.2
+++ b/lib/libsys/write.2
@@ -185,13 +185,6 @@ A signal interrupted the write before it could be completed.
.It Bq Er EAGAIN
The file was marked for non-blocking I/O,
and no data could be written immediately.
-.It Bq Er EROFS
-An attempt was made to write over a disk label area at the beginning
-of a slice.
-Use
-.Xr disklabel 8
-.Fl W
-to enable writing on the disk label area.
.It Bq Er EINVAL
The value
.Fa nbytes
@@ -202,6 +195,9 @@ is greater than
if the sysctl
.Va debug.iosize_max_clamp
is non-zero).
+.It Bq Er EINVAL
+The file descriptor refers to a raw device, and the write
+offset or size is not a multiple of the device's block size.
.It Bq Er EINTEGRITY
The backing store for
.Fa fd