> That seems backwards - with a raw file, don't you know the actual size, > but have no idea what it can further grow to? In raw it commes from fstat() with the field st.st_blocks.
from man: blkcnt_t st_blocks; /* number of 512B blocks allocated */ Benoît