Bell 32V development
[unix-history] / usr / include / sys / ino.h
CommitLineData
26415b64
TL
1 /* Inode structure as it appears on a disk block. */
2struct dinode
3{
4 unsigned short di_mode; /* mode and type of file */
5 short di_nlink; /* number of links to file */
6 short di_uid; /* owner's user id */
7 short di_gid; /* owner's group id */
8 off_t di_size; /* number of bytes in file */
9 char di_addr[40]; /* disk block addresses */
10 time_t di_atime; /* time last accessed */
11 time_t di_mtime; /* time last modified */
12 time_t di_ctime; /* time created */
13};
14#define INOPB 8 /* 8 inodes per block */
15/*
16 * the 40 address bytes:
17 * 39 used; 13 addresses
18 * of 3 bytes each.
19 */