2012/3/26 ольга крыжановская <olga.kryzhanov...@gmail.com>:
> How can I test if a file on ZFS has holes, i.e. is a sparse file,
> using the C api?

See SEEK_HOLE in lseek(2).

-- 
Mike Gerdts
http://mgerdts.blogspot.com/
_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to