Lines Matching full:bsd
1 /* bsd.h -- BSD disklabel data structure definitions, types, and functions */
14 #define BSD_SIGNATURE UINT32_C(0x82564557) /* BSD disklabel signature ("magic") */
16 // BSD disklabels can start at offsets of 64 or the sector size -- at least,
40 enum BSDValidity {unknown, bsd_invalid, bsd}; enumerator
42 // Data for a single BSD partition record
54 // Full data in tweaked BSD format
60 // We only need a few items from the main BSD disklabel data structure....
67 // Above are basic BSD disklabel data; now add more stuff....
68 uint64_t labelFirstLBA; // first sector of BSD disklabel (partition or disk)
69 uint64_t labelLastLBA; // final sector of BSD disklabel
70 uint64_t labelStart; // BSD disklabel start point in bytes from labelFirstLBA
79 int ShowState(void); // returns 1 if BSD disklabel detected
87 GPTPart AsGPT(int i); // Return BSD part. as GPT part.