*** msdos.h.bak Thu Sep 10 18:59:13 1992 --- msdos.h Fri Oct 28 08:43:31 1994 *************** *** 49,55 **** unsigned char nheads[2]; /* Heads */ unsigned char nhs[4]; /* number of hidden sectors */ unsigned char bigsect[4]; /* big total sectors */ ! unsigned char junk[476]; /* who cares? */ }; typedef void SIG_TYPE; --- 49,56 ---- unsigned char nheads[2]; /* Heads */ unsigned char nhs[4]; /* number of hidden sectors */ unsigned char bigsect[4]; /* big total sectors */ ! unsigned char junk[474]; /* who cares? */ ! unsigned char signat[2]; /* 0xaa55 */ }; typedef void SIG_TYPE; *** mformat.c.bak Fri Oct 28 08:41:08 1994 --- mformat.c Fri Oct 28 08:44:48 1994 *************** *** 210,215 **** --- 210,217 ---- boot.nsect[1] = sectors / 0x100; boot.nheads[0] = heads % 0x100; boot.nheads[1] = heads / 0x100; + boot.signat[0] = 0x55; + boot.signat[1] = 0xaa; /* write the boot */ lseek(fd, (off_t) 0, 0);