Subject: revamping disk partitioning during installation
To: None <tech-install@netbsd.org>
From: David Laight <david@l8s.co.uk>
List: tech-install
Date: 05/07/2003 20:17:50
The current disklabel editing code in sysinst is slightly user-unfriendly,
not least because the menu box overlays part of the text you need to see!
It looks something like:
We now have your BSD-disklabel partitions as (Start, End and Size in MB):
Start End Size FStype Bsize Fsize Preserve Mount point
--------- --------- --------- ------ ----- ----- -------- -----------
a: 2055 2587 533 4.2BSD 8192 1024 No
b: 2588 3612 1024 swap
c: 2055 6101 4047 unused
d: 0 19546 19547 unused
e: 3613 6101 2489 4.2BSD 8192 1024 No
f: 0 2054 2055 MSDOS
g: 17924 19546 1622 4.2BSD 8192 1024 No
h: 15876 17923 2048 4.2BSD 8192 1024 No
i: 6102 12110 lqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqk
j: 12111 14110 x>a: Change a x
k: 14111 15875 x b: Change b x
l: 0 0 x c: NetBSD partition - can't change x
m: 0 0 x d: Whole disk - can't change x
n: 0 0 x e: Change e x
o: 0 0 x f: Change f x
p: 0 0 x g: Change g x
x h: Change h x
x <: page up, >: page down x
mqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqj
I think it should be possible to make the partition display itself be the
menu - drawn without a title or box.
The user could then select the partition to edit by moving the highlighted
entry up and down.
Once selected the information for that partition could be displayed
vertically as another menu, allowing the user to highlight the field
to change.
I also want to do the same for the MBR partitions, including the bootmenu
stuff on the same screen (for i386/amd64).
Does anyone see any problems before I start wearing out my coding stick?
David
--
David Laight: david@l8s.co.uk