h11226
s 00000/00000/00040
d D 1.3 82/09/13 12:59:40 ross 3 2
c 
e
s 00000/00000/00040
d D 1.2 82/09/13 11:04:32 ross 2 1
c 
e
s 00040/00000/00000
d D 1.1 82/09/13 10:16:30 ross 1 0
e
u
U
t
T
I 1
/*
 * Inode structure as it appears on
 * a disk block.
 */
#ifdef V6
struct	dinode
{
	int	di_mode;
	char	di_nlink;
	char	di_uid;
	char	di_gid;
	char	di_size0;
	char	*di_size1;
	int	di_addr[8];
	int	di_atim0;
	int	di_atime;
	int	di_mtim0;
	int	di_mtime;
	int	di_filler;	/***/
};
#else
struct dinode
{
	unsigned short	di_mode;     	/* mode and type of file */
	short	di_nlink;    	/* number of links to file */
	short	di_uid;      	/* owner's user id */
	short	di_gid;      	/* owner's group id */
	off_t	di_size;     	/* number of bytes in file */
	char  	di_addr[40];	/* disk block addresses */
	time_t	di_atime;   	/* time last accessed */
	time_t	di_mtime;   	/* time last modified */
	time_t	di_ctime;   	/* time created */
};
#endif
#define	INOPB	8	/* 8 inodes per block */
/*
 * the 40 address bytes:
 *	39 used; 13 addresses
 *	of 3 bytes each.
 */
E 1
