Use statfs syscall directly.