Linu 超级块的结构.docx

Linux 超级块的结构 //come from /usr/src/kernel/uname –r/include/linux/fs.h struct super_block { struct list_head s_list; /* Keep this first */ dev_t s_dev; /* search index; _not_ kdev_t */ unsigned long s_blocksize; //数据块大小 unsigned char s_blocksize_bits; //块大小占用的位数 unsigned char s_dirt; //脏位,如果该位置位,说明超级块被修改 unsigned long long s_maxbytes; //单个文件最大体积 struct file_system_type *s_type; //文件系统结构 struct super_operations *s_op; //超级块支持的操作 struct dquot_operations *dq_op; // struct quotactl_ops *s_qcop; //用户配额限制 struct export_operations *s_export_op; // 14 unsigned longs_flags; unsigned long s_magic; //区块的

文档评论(0)

1亿VIP精品文档

相关文档