
15 Feb
2010
15 Feb
'10
10:47 p.m.
On 02/15/2010 10:29 PM, David Allan wrote:
* If the volume is a sparse file and the fiemap ioctl is available, use fiemap to locate the volume's extents.
What about for a sparse file doing just ftruncate (fd, 0); ftruncate (fd, st.st_size); ? It's already sparse, it doesn't hurt to make it _more_ sparse. Paolo