~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~ [ freetext search ] ~ [ file search ] ~

Minix Cross Reference
Minix/fs/type.h


  1 /* Declaration of the V1 inode as it is on the disk (not in core). */
  2 typedef struct {                /* V1.x disk inode */
  3   mode_t d1_mode;               /* file type, protection, etc. */
  4   uid_t d1_uid;                 /* user id of the file's owner */
  5   off_t d1_size;                /* current file size in bytes */
  6   time_t d1_mtime;              /* when was file data last changed */
  7   gid_t d1_gid;                 /* group number */
  8   nlink_t d1_nlinks;            /* how many links to this file */
  9   u16_t d1_zone[V1_NR_TZONES];  /* block nums for direct, ind, and dbl ind */
 10 } d1_inode;
 11 
 12 /* Declaration of the V2 inode as it is on the disk (not in core). */
 13 typedef struct {                /* V2.x disk inode */
 14   mode_t d2_mode;               /* file type, protection, etc. */
 15   u16_t d2_nlinks;              /* how many links to this file. HACK! */
 16   uid_t d2_uid;                 /* user id of the file's owner. */
 17   u16_t d2_gid;                 /* group number HACK! */
 18   off_t d2_size;                /* current file size in bytes */
 19   time_t d2_atime;              /* when was file data last accessed */
 20   time_t d2_mtime;              /* when was file data last changed */
 21   time_t d2_ctime;              /* when was inode data last changed */
 22   zone_t d2_zone[V2_NR_TZONES]; /* block nums for direct, ind, and dbl ind */
 23 } d2_inode;
 24 

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~ [ freetext search ] ~ [ file search ] ~

This page was automatically generated by the LXR engine.
Visit the LXR main site for more information.