mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-22 11:17:19 +00:00
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
809cd50ff5
commit
8ca8d252bb
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=325422
@ -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