diff options
| author | KATO Takenori <kato@FreeBSD.org> | 2000-03-31 16:03:02 +0000 |
|---|---|---|
| committer | KATO Takenori <kato@FreeBSD.org> | 2000-03-31 16:03:02 +0000 |
| commit | c1cdadfffe4241fc564e698045924f1e37877fd1 (patch) | |
| tree | 0fe678a5c33e7f6d5a2ae7e97e8fb8e9c956c90a /sys/boot/pc98/libpc98 | |
| parent | 91a594d823e698e44080895225e88d67a1ccc3d8 (diff) | |
Notes
Diffstat (limited to 'sys/boot/pc98/libpc98')
| -rw-r--r-- | sys/boot/pc98/libpc98/biosdisk.c | 36 |
1 files changed, 30 insertions, 6 deletions
diff --git a/sys/boot/pc98/libpc98/biosdisk.c b/sys/boot/pc98/libpc98/biosdisk.c index 7c44343c9be5..3f4f1f474537 100644 --- a/sys/boot/pc98/libpc98/biosdisk.c +++ b/sys/boot/pc98/libpc98/biosdisk.c @@ -316,7 +316,31 @@ bd_print(int verbose) sprintf(line, " disk%ds%d", i, j + 1); bd_printslice(od, dptr[j].dp_start, line); break; + case 0x00: /* unused partition */ + break; + case 0x01: + sprintf(line, " disk%ds%d: FAT-12\n", i, + j + 1); + pager_output(line); + break; + case 0x04: + case 0x06: + case 0x0e: + sprintf(line, " disk%ds%d: FAT-16\n", i, + j + 1); + pager_output(line); + break; + case 0x0b: + case 0x0c: + sprintf(line, " disk%ds%d: FAT-32\n", i, + j + 1); + pager_output(line); + break; default: + sprintf(line, " disk%ds%d: Unknown fs: 0x%x\n", + i, j + 1, dptr[j].dp_typ); + pager_output(line); + break; } } @@ -654,12 +678,12 @@ bd_bestslice(struct dos_partition *dptr) } break; - case 0x04: /* DOS/Windows */ - case 0x06: - case 0x0b: - case 0x0c: - case 0x0e: - case 0x63: + case 0x01: /* DOS/Windows */ + case 0x04: + case 0x06: + case 0x0b: + case 0x0c: + case 0x0e: if ((dptr[i].dp_flag & 0x80) && (preflevel > PREF_DOS_ACT)) { pref = i; preflevel = PREF_DOS_ACT; |
