SEEK_HOLE and SEEK_DATA for sparse files any takers?

Pawel Jakub Dawidek pjd at FreeBSD.org
Tue Nov 14 14:44:53 UTC 2006


On Wed, Nov 08, 2006 at 02:38:36AM +0100, Pedro F Giffuni wrote:
> Hi;
> 
> >From http://blogs.sun.com/bonwick/date/200512
> 
> "At this writing, SEEK_HOLE and SEEK_DATA are Solaris-specific. I encourage
> (implore? beg?) other operating systems to adopt these lseek(2) extensions
> verbatim (100% tax-free) so that sparse file navigation becomes a ubiquitous
> feature that every backup and archiving program can rely on. It's long
> overdue."
> 
> It should be mentioned that linux adopted them and they would help the ZFS
> port.

I've some starting code for this and I'm planning to implement them, at
least for ZFS.

-- 
Pawel Jakub Dawidek                       http://www.wheel.pl
pjd at FreeBSD.org                           http://www.FreeBSD.org
FreeBSD committer                         Am I Evil? Yes, I Am!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-hackers/attachments/20061114/fc43dda9/attachment.pgp


More information about the freebsd-hackers mailing list