5600 /* 5601 * Inode structure as it appears on 5602 * the disk. Not used by the system, 5603 * but by things like check, df, dump. 5604 */ 5605 struct inode 5606 { 5607 int i_mode; 5608 char i_nlink; 5609 char i_uid; 5610 char i_gid; 5611 char i_size0; 5612 char *i_size1; 5613 int i_addr[8]; 5614 int i_atime[2]; 5615 int i_mtime[2]; 5616 }; 5617 /* ------------------------ */ 5618 5619 /* modes */ 5620 #define IALLOC 0100000 5621 #define IFMT 060000 5622 #define IFDIR 040000 5623 #define IFCHR 020000 5624 #define IFBLK 060000 5625 #define ILARG 010000 5626 #define ISUID 04000 5627 #define ISGID 02000 5628 #define ISVTX 01000 5629 #define IREAD 0400 5630 #define IWRITE 0200 5631 #define IEXEC 0100 5632 5633 5634 5635 5636 5637 5638 5639 5640 5641 5642 5643 5644 5645 5646 5647 5648 5649