lkml.org 
[lkml]   [2011]   [Sep]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Man page doc for SEEK_DATA/SEEK_HOLE
On 09/18/2011 01:07 AM, Michael Kerrisk wrote:
> +
> +.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.

--
Eric Blake eblake@redhat.com +1-801-349-2682
Libvirt virtualization library http://libvirt.org


\
 
 \ /
  Last update: 2011-09-19 19:59    [from the cache]
©2003-2011 Jasper Spaans