/* SCCS_ID @(#)ino.h    	3.1	 01:06:22 - 81/10/27 */

#ifndef LOCALS_INCLUDED
# include <sys/local.h>
#endif

/*
 * 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  V6
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 V6
#ifndef UCB_NKB
#define	INOPB	8	/* 8 inodes per block */
#endif UCB_NKB
/*
 * the 40 address bytes:
 *	39 used; 13 addresses
 *	of 3 bytes each.
 */
