Statfs is command line wrapper for statfs(2) libc call. Based on Michael Meskes's stat program, where I just replaced stat with statfs :-)