Signed-off-by: Francesco Cosoleto <cosoleto@gmail.com>
enum labeltype disklabel = DOS_LABEL; /* Current disklabel */
-int possibly_osf_label = 0;
-
jmp_buf listingbuf;
static void __attribute__ ((__noreturn__)) usage(FILE *out)
sun_nolabel(); /* otherwise always recognised as sun */
sgi_nolabel(); /* otherwise always recognised as sgi */
disklabel = DOS_LABEL;
- possibly_osf_label = 0;
partitions = 4;
/* Zero out the MBR buffer */
return 0;
if (check_osf_label()) {
- possibly_osf_label = 1;
if (!valid_part_table_flag(MBRbuffer)) {
disklabel = OSF_LABEL;
return 0;