📄 d-inode.h
字号:
#ifndef DINODE_H#define DINODE_H// DInode, DItable class#define MAX_DINODE_BLK 7 #define MAX_DINODE_DITABLE 16struct DInode { // each inode has 32 bytes. short ino; short num_blk; //number of blocks assigned to this inode long blk[MAX_DINODE_BLK]; // max 7 blocks per file};struct DITable{ // 16 inodes in inode table struct DInode arr[MAX_DINODE_DITABLE];};#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -