Re: Compatible fstat()

From: Parag Warudkar
Date: Tue Nov 08 2005 - 14:12:21 EST



On Nov 8, 2005, at 1:49 PM, Theodore Ts'o wrote:

e2fsprogs falls back to using a
binary search using SEEK_SET to find the device size.

Binary search of what? I tried to read the relevant code in getsize.c but apart from suspecting that the binary search thing might be specific to ext2fs I didn't quite understand what's going on in the code. (Will it work irrespective of the file system presence on the device?)

Thanks
Parag

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/