Bug report
Bug description:
fallocate() fails with EOPNOTSUPP, rather than EINVAL on FreeBSD 15 with zfs.
======================================================================
ERROR: test_posix_fallocate (test.test_os.test_posix.PosixTester.test_posix_fallocate)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/nick/src/cpython-fixes/Lib/test/test_os/test_posix.py", line 409, in test_posix_fallocate
posix.posix_fallocate(fd, 0, 10)
~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^
OSError: [Errno 45] Operation not supported
CPython versions tested on:
CPython main branch
Operating systems tested on:
Other - FreeBSD
% uname -a
FreeBSD lappy-freebsd 15.0-RELEASE FreeBSD 15.0-RELEASE releng/15.0-n280995-7aedc8de6446 GENERIC arm64
Linked PRs
Bug report
Bug description:
fallocate() fails with EOPNOTSUPP, rather than EINVAL on FreeBSD 15 with zfs.
CPython versions tested on:
CPython main branch
Operating systems tested on:
Other - FreeBSD
Linked PRs