????? ???????????? <olga.kryzhanov...@gmail.com> wrote:

> How can I test if a file on ZFS has holes, i.e. is a sparse file,
> using the C api?

See star .....

ftp://ftp.berlios.de/pub/star/

or

http://hg.berlios.de/repos/schillix-on/file/e3829115a7a4/usr/src/cmd/star/hole.c

The interface was defined for star in September 2004, star added support in May 
2005 after the interface was implemented.

Jörg

-- 
 EMail:jo...@schily.isdn.cs.tu-berlin.de (home) Jörg Schilling D-13353 Berlin
       j...@cs.tu-berlin.de                (uni)  
       joerg.schill...@fokus.fraunhofer.de (work) Blog: 
http://schily.blogspot.com/
 URL:  http://cdrecord.berlios.de/private/ ftp://ftp.berlios.de/pub/schily
_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to