1: /* ino.h 4.2 81/02/19 */
2:
3: /*
4: * Inode structure as it appears on
5: * a disk block.
6: */
7: struct dinode
8: {
9: unsigned short di_mode; /* mode and type of file */
10: short di_nlink; /* number of links to file */
11: short di_uid; /* owner's user id */
12: short di_gid; /* owner's group id */
13: off_t di_size; /* number of bytes in file */
14: char di_addr[40]; /* disk block addresses */
15: time_t di_atime; /* time last accessed */
16: time_t di_mtime; /* time last modified */
17: time_t di_ctime; /* time created */
18: };
19: /*
20: * the 40 address bytes:
21: * 39 used; 13 addresses
22: * of 3 bytes each.
23: */
Defined struct's
dinode
defined in line
7; used 12 times
Usage of this include