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. Mike
Why would you find such a function useful in a user application? What are you trying to do? - Ted
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