On Sun, Oct 12, 2008 at 03:24:52PM -0400, Theodore Tso wrote: > On Sun, Oct 12, 2008 at 02:00:19PM +0200, Mike Hommey wrote: > > > > There seems to be no such function, which would be equivalent to > > ext3_bg_num_gdb in fs/ext3/balloc.c in the kernel source. > > Why would you find such a function useful in a user application? What > are you trying to do?
I was trying to get the same block size that what statfs() gives, i.e. the effective block size (full block count - overhead). That could even be something nice to have in dumpe2fs or debugfs. Mike -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

