Lines Matching full:backup
57 u_char backup[DOSBOOTBLOCKSIZE]; local
107 boot->Backup = block[50] + (block[51] << 8);
175 if (lseek(dosfs, boot->Backup * boot->BytesPerSec, SEEK_SET)
176 != boot->Backup * boot->BytesPerSec
177 || read(dosfs, backup, sizeof backup) != sizeof backup) {
178 perror("could not read backup bootblock");
181 backup[65] = block[65]; /* XXX */
182 if (memcmp(block + 11, backup + 11, 79)) {
189 * the backup either empty or containing garbage.
192 pwarn("Primary/Backup bootblock miscompare\n");
204 pwarn("Backup:\n");
207 snprintf(tmp2, sizeof(tmp2), "%.2x ", backup[11 + i]);
212 /* Check backup FSInfo? XXX */