Thread (1 message) 1 message, 1 author, 2011-09-20

Re: Man page doc for SEEK_DATA/SEEK_HOLE

From: Michael Kerrisk <hidden>
Date: 2011-09-20 05:24:24
Also in: linux-fsdevel, lkml

Hello Eric

On Mon, Sep 19, 2011 at 7:57 PM, Eric Blake [off-list ref] wrote:
On 09/18/2011 01:07 AM, Michael Kerrisk wrote:
quoted
+
+.BR SEEK_DATA
+and
+.BR SEEK_HOLE
+are nonstandard extensions also present in Solaris.
Looks good to me, but you may also want to link to the proposed wording for
mandating SEEK_HOLE/SEEK_DATA in the eventual POSIX Issue 8 (POSIX 2008 is
Issue 7):
http://austingroupbugs.net/view.php?id=415

Also, it seems a shame that the kernel can fail with EINVAL instead of
properly emulating SEEK_HOLE and SEEK_DATA even on file systems with no
underlying support for reporting holes.
Thanks for catching that. I've added that point.

Cheers,

Michael


-- 
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
Author of "The Linux Programming Interface"; http://man7.org/tlpi/
--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help