Subject: Re: kern/6652: swapping to a sparse file fails unpredictably.
To: Daniel Carosone <email@example.com>
From: Marc Horowitz <firstname.lastname@example.org>
Date: 01/05/1999 19:06:24
Daniel Carosone <email@example.com> writes:
>> "ls -ls" will let me determine if a file is sparse, by comparing
>> the "length" and "number of blocks" columns. This info comes from
>> the stat structure and is O(1)..
And fails if the file uses indirect blocks. Like I said, I'm pretty
sure there's a way to do this, but I don't know what it is.