Searched refs:sector0 (Results 1 - 2 of 2) sorted by relevance

/freebsd-current/usr.sbin/fstyp/
H A Dmsdosfs.c48 check_signature(uint8_t sector0[512]) argument
51 if (sector0[510] == 0x55 && sector0[511] == 0xaa)
54 if (sector0[510] == 0 && sector0[511] == 0 &&
55 sector0[0] == 0xeb && sector0[1] == 0x3c && sector0[2] == 0x90)
66 uint8_t *sector0, *sector; local
69 sector0
[all...]
/freebsd-current/sys/geom/label/
H A Dg_label_msdosfs.c49 uint8_t *sector0, *sector; local
54 sector0 = NULL;
72 sector0 = (uint8_t *)g_read_data(cp, 0, pp->sectorsize, NULL);
73 if (sector0 == NULL)
77 if (sector0[510] != 0x55 || sector0[511] != 0xaa) {
87 pfat_bsbpb = (FAT_BSBPB *)sector0;
88 pfat32_bsbpb = (FAT32_BSBPB *)sector0;
215 g_free(sector0);

Completed in 103 milliseconds