> Well, it's only a little like what I assume you're looking for, but if > the file is on an FFS filesystem, I have code that knows how to read > the disk directly and detect holes in the file that way. Rather OTT since all I'm trying to do is verify what fdisk might write when updating the extended partition list.... David -- David Laight: david@l8s.co.uk