posix_fallocate.2: add an EINVAL errno case
As of r325320 posix_fallocate returns EINVAL on ZFS to indicate that the underlying filesystem does not support this operation, per POSIX.1-2008. Document this case in the man page. MFC after: 20 days MFC with: r325320 Sponsored by: The FreeBSD Foundation
This commit is contained in:
parent
9ec9e9c77c
commit
718a31be31
@ -28,7 +28,7 @@
|
||||
.\" @(#)open.2 8.2 (Berkeley) 11/16/93
|
||||
.\" $FreeBSD$
|
||||
.\"
|
||||
.Dd October 12, 2017
|
||||
.Dd November 4, 2017
|
||||
.Dt POSIX_FALLOCATE 2
|
||||
.Os
|
||||
.Sh NAME
|
||||
@ -106,9 +106,10 @@ A signal was caught during execution.
|
||||
.It Bq Er EINVAL
|
||||
The
|
||||
.Fa len
|
||||
argument was less than or equal to zero or the
|
||||
argument was less than or equal to zero, the
|
||||
.Fa offset
|
||||
argument was less than zero.
|
||||
argument was less than zero,
|
||||
or the operation is not supported by the file system.
|
||||
.It Bq Er EIO
|
||||
An I/O error occurred while reading from or writing to a file system.
|
||||
.It Bq Er ENODEV
|
||||
|
Loading…
Reference in New Issue
Block a user