/*
 * Extent map entry (on disk)
 */

#define EXTMAPIDENT	"$Header: extent.h,v 1.1 86/09/24 13:02:23 tom Exp $"
#define EXTMAPORIGIN	5	/* block no where Extent map starts */
#define EXTMAPSIZE	7	/* size of map in blocks (512 bytes) */
#define EXTEPB		5	/* map entries per block */

#define EXTMAPKIND	6

struct extent_map_entry {
  card16	checkSum;
  int16		kind;
  card16	extno;
  char		label[20];
  char		security[1+1+4+2+2+2+4+4];	/* 20 */
  char		firstblock[4];
  char		lastblock[4];
  char		extSize[4];
  char		filler[44];
};

struct extent_map_block
{
  struct extent_map_entry entry[EXTEPB]; /* 5 entries of 102 bytes = 510 bytes */
  char	filler[2];	           /* plus a filler to make 512 bytes */
};

