CentOS 7 使用 Docker 部署 DolphinScheduler 3.2.2 完整教程
2026/6/10 17:41:18
df命令用于显示文件系统的使用信息,如空闲和已使用块的数量。通过super_block操作向量,uxfs导出了ux_statfs()函数,该函数会在df调用statfs系统调用时被调用(每个文件系统调用一次)。ux_statfs()函数的原型如下:
int ux_statfs(struct super_block *sb, struct statfs *buf);df命令会为每个挂载的文件系统调用statfs()系统调用,其原型为:
int statfs(const char *path, struct statfs *buf);statfs结构体定义如下:
struct statfs { long f_type; /* type of filesystem (see below) */ long f_bsize; /* o