On Thu, Nov 9, 2017 at 8:08 AM, Baptiste Daroussin <b...@freebsd.org> wrote:

> On Sun, Nov 05, 2017 at 03:02:19AM +0000, Ed Maste wrote:
> > Author: emaste
> > Date: Sun Nov  5 03:02:19 2017
> > New Revision: 325422
> > URL: https://svnweb.freebsd.org/changeset/base/325422
> >
> > Log:
> >   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.
>
> I would have expected a EOPNOTSUPP no?
>

Me too, but POSIX specifically requires EINVAL.

Warner
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to