1 #define VOLDESC 16 /* sector number */
4 * L means little-endian, M means big-endian, and LM means little-endian
5 * then again big-endian.
7 typedef uchar Byte2L[2];
8 typedef uchar Byte2M[2];
9 typedef uchar Byte4LM[4];
10 typedef uchar Byte4L[4];
11 typedef uchar Byte4M[4];
12 typedef uchar Byte8LM[8];
13 typedef union Drec Drec;
14 typedef union Voldesc Voldesc;
26 { /* volume descriptor */
27 uchar byte[Sectorsize];
28 union { /* for CD001, the ECMA standard */
65 uchar bibliography[37];
77 { /* for CDROM, the `High Sierra' standard */
119 uchar tzone; /* flags in high sierra */
120 uchar flags; /* ? in high sierra */
121 uchar unitsize; /* ? in high sierra */
122 uchar gapsize; /* ? in high sierra */
123 Byte4LM vseqno; /* ? in high sierra */
136 short fmt; /* 'z' if iso, 'r' if high sierra */
138 vlong offset; /* true offset when reading directory */
139 long odelta; /* true size of directory just read */
140 vlong doffset; /* plan9 offset when reading directory */