Subject: Re: kern/6652: swapping to a sparse file fails unpredictably.
To: Robert Elz <kre@munnari.OZ.AU>
From: Marc Horowitz <marc@mit.edu>
List: netbsd-bugs
Date: 01/06/1999 15:06:45
Robert Elz <kre@munnari.OZ.AU> writes:

>> You can always determine exactly how many blocks it takes to cover
>> an entire file of any given size (on ffs) - if the number of blocks
>> the inode claims is equal to that, then the file is not sparse, if
>> the number of blocks is less then the file is sparse, if it is
>> greater, the filesystem is broken...

You're about the fifth person to tell me that it's possible.  Can
someone please tell me *how* so I can fix the code?

		Marc