diff options
| author | jonathan <jonathan@NetBSD.org> | 1997-12-04 11:27:56 +0000 |
|---|---|---|
| committer | jonathan <jonathan@NetBSD.org> | 1997-12-04 11:27:56 +0000 |
| commit | 7bd66558941e1cfe5d7a00bea4fbf2384a3441aa (patch) | |
| tree | f929970a9b107f6b5656f953e968e3369cbf5daa /sys/dev/microcode | |
| parent | fc3fa7cd7f9ada81468dac9ffeef6876b1d659fd (diff) | |
Add check for overlapping partitions:
* Add `partinfo' type, for description of a single partition,
so we can pass labels by reference..
* Add label.c with label initialization, naive overlap-check code,
and a UI entrypoint edit_and_check_label() which iterates through
checking a label for overlaps, and if any, giving the user the choice of
fixing them or punting back to the main menu.
* Change return type of md_make_bsd_partitions from void to int.
Return 0 if the partition has problems (or the user gave up on it)
and 1 if the partition is completed and looks OK.
* Change install() to check return value of md_make_bsd_partitions().
If it returns zero, print an `abort' message and return to main menu.
* Add label.c to all ports' Makefile.
MD code tested on pmax and cut-and-pasted to other ports.
Diffstat (limited to 'sys/dev/microcode')
0 files changed, 0 insertions, 0 deletions
