2013年1月7日
摘要: struct inode 里面有 15 个成员最为重要, 分成4类:1. 链表类,i_hash 将 inode 链接入 inode hashtable, 外部可以通过 super_block 指针与 ino 来找到这个 inodei_dentry 为 inode 的 dentry 链表表头, 从而一个 inode 可以在文件树中有多个硬链接i_list 将 inode 链接入 inode_used 链表2. 属性类i_ino, inode numberi_mode, 文件 RWX 属性及文件类型, 比如是否是文件夹, 普通文件, 或者设备文件等i_dev, inode 所在设备的设备号, 从 阅读全文
posted @ 2013-01-07 00:08 zylthinking 阅读(1415) 评论(1) 推荐(1) 编辑