Skip to contentSkip to conversation

How to get the file system statistics information in kernel space?

DISCUSSION 沈晓晨 1 participant 1 message Jun 18, 2009 VFS

lore
Share & tools
lore

沈晓晨

author
#0 lore raw

Hi,

How to get the file system statistics information in kernel space device driver? Can I get the block size, total blocks, free blocks and etc. information in the filesystem just like user space function statfs() get?

Thanks
Xiaochen