Subject: Re: kern/6652: swapping to a sparse file fails unpredictably.
To: Daniel Carosone <firstname.lastname@example.org>
From: Marc Horowitz <email@example.com>
Date: 01/05/1999 19:06:24
Daniel Carosone <firstname.lastname@example.org> 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.