type.h

Go to the documentation of this file.
00001 /* Declaration of the V1 inode as it is on the disk (not in core). */
00002 typedef struct {                /* V1.x disk inode */
00003   mode_t d1_mode;               /* file type, protection, etc. */
00004   uid_t d1_uid;                 /* user id of the file's owner */
00005   off_t d1_size;                /* current file size in bytes */
00006   time_t d1_mtime;              /* when was file data last changed */
00007   u8_t d1_gid;                  /* group number */
00008   u8_t d1_nlinks;               /* how many links to this file */
00009   u16_t d1_zone[V1_NR_TZONES];  /* block nums for direct, ind, and dbl ind */
00010 } d1_inode;
00011 
00012 /* Declaration of the V2 inode as it is on the disk (not in core). */
00013 typedef struct {                /* V2.x disk inode */
00014   mode_t d2_mode;               /* file type, protection, etc. */
00015   u16_t d2_nlinks;              /* how many links to this file. HACK! */
00016   uid_t d2_uid;                 /* user id of the file's owner. */
00017   u16_t d2_gid;                 /* group number HACK! */
00018   off_t d2_size;                /* current file size in bytes */
00019   time_t d2_atime;              /* when was file data last accessed */
00020   time_t d2_mtime;              /* when was file data last changed */
00021   time_t d2_ctime;              /* when was inode data last changed */
00022   zone_t d2_zone[V2_NR_TZONES]; /* block nums for direct, ind, and dbl ind */
00023 } d2_inode;

Generated on Fri Apr 14 22:57:21 2006 for minix by  doxygen 1.4.6