freebsd-skq/sbin/sysinstall/label.h
Paul Richards d35f2e963a I hope this gets my changes merged back into the current branch.
Removed a layer of menus.
Auto select partition to install into -- first FreeBSD partition
in MBR table. Abort if no FreeBSD partition.
Added a F_BUTTON type.
Fixed up label editor to show free space properly.
Fixed a few bugs.
1994-11-19 05:20:13 +00:00

53 lines
2.9 KiB
C

struct field label_field[] = {
{ 6, 02, 10, 10, -1, -1, -1, -1, -1, "wd0a", F_EDIT},
{ 6, 16, 3, 3, 2, 1, 6, -1, 2, "YES", F_TOGGLE},
{ 6, 27, 6, 30, 3, 1, 7, -1, 3, "MSDOS", F_EDIT},
{ 6, 39, 5, 5, 4, 1, 8, -1, 4, "1000", F_EDIT},
{ 6, 47, 30, 80, 6, 1, 9, -1, 1, "/an/example/mountpoint", F_EDIT},
{ 8, 02, 4, 4, -1, -1, -1, -1, -1, "wd0b", F_EDIT},
{ 8, 16, 3, 3, 7, 1, 11, -1, 7, "YES", F_TOGGLE},
{ 8, 27, 6, 20, 8, 2, 12, -1, 8, "MSDOS", F_EDIT},
{ 8, 39, 5, 5, 9, 3, 13, -1, 9, "1000", F_EDIT},
{ 8, 47, 30, 80, 11, 4, 14, -1, 6, "/an/example/mountpoint", F_EDIT},
{10, 02, 10, 10, -1, -1, -1, -1, -1, "wd0c", F_EDIT},
{10, 16, 3, 3, 12, 6, 16, -1, 12, "YES", F_TOGGLE},
{10, 27, 6, 20, 13, 7, 17, -1, 13, "MSDOS", F_EDIT},
{10, 39, 5, 5, 14, 8, 18, -1, 14, "1000", F_EDIT},
{10, 47, 30, 80, 16, 9, 19, -1, 11, "/an/example/mountpoint", F_EDIT},
{12, 02, 10, 10, -1, -1, -1, -1, -1, "wd0d", F_EDIT},
{12, 16, 3, 3, 17, 11, 21, -1, 17, "YES", F_TOGGLE},
{12, 27, 6, 20, 18, 12, 22, -1, 18, "MSDOS", F_EDIT},
{12, 39, 5, 5, 19, 13, 23, -1, 19, "1000", F_EDIT},
{12, 47, 30, 80, 21, 14, 24, -1, 16, "/an/example/mountpoint", F_EDIT},
{14, 02, 10, 10, -1, -1, -1, -1, -1, "wd0e", F_EDIT},
{14, 16, 3, 3, 22, 16, 26, -1, 22, "YES", F_TOGGLE},
{14, 27, 6, 20, 23, 17, 27, -1, 23, "MSDOS", F_EDIT},
{14, 39, 5, 5, 24, 18, 28, -1, 24, "1000", F_EDIT},
{14, 47, 30, 80, 26, 19, 29, -1, 21, "/an/example/mountpoint", F_EDIT},
{16, 02, 10, 10, -1, -1, -1, -1, -1, "wd0f", F_EDIT},
{16, 16, 3, 3, 27, 21, 31, -1, 27, "YES", F_TOGGLE},
{16, 27, 6, 20, 28, 22, 32, -1, 28, "MSDOS", F_EDIT},
{16, 39, 5, 5, 29, 23, 33, -1, 29, "1000", F_EDIT},
{16, 47, 30, 80, 31, 24, 34, -1, 26, "/an/example/mountpoint", F_EDIT},
{18, 02, 10, 10, -1, -1, -1, -1, -1, "wd0g", F_EDIT},
{18, 16, 3, 3, 32, 26, 36, -1, 32, "YES", F_TOGGLE},
{18, 27, 6, 20, 33, 27, 37, -1, 33, "MSDOS", F_EDIT},
{18, 39, 5, 5, 34, 28, 38, -1, 34, "1000", F_EDIT},
{18, 47, 30, 80, 36, 29, 39, -1, 31, "/an/example/mountpoint", F_EDIT},
{20, 02, 10, 10, -1, -1, -1, -1, -1, "wd0h", F_EDIT},
{20, 16, 3, 3, 37, 31, 1, -1, 37, "YES", F_TOGGLE},
{20, 27, 6, 20, 38, 32, 1, -1, 38, "MSDOS", F_EDIT},
{20, 39, 5, 5, 39, 33, 1, -1, 39, "1000", F_EDIT},
{20, 47, 30, 80, 1, 34, 1, -1, 1, "/an/example/mountpoint", F_EDIT},
{ 0, 27, 17, 17, -1, -1, -1, -1, -1, "Disk label editor", F_TITLE},
{ 4, 2, 11, 11, -1, -1, -1, -1, -1, "Partition", F_TITLE},
{ 4, 14, 8, 8, -1, -1, -1, -1, -1, "Preserve", F_TITLE},
{ 4, 25, 10, 10, -1, -1, -1, -1, -1, "Filesystem", F_TITLE},
{ 4, 39, 5, 5, -1, -1, -1, -1, -1, "Size", F_TITLE},
{ 4, 47, 10, 10, -1, -1, -1, -1, -1, "Mountpoint", F_TITLE},
{ 2, 34, 11, 11, -1, -1, -1, -1, -1, "Free space:", F_EDIT},
{ 2, 47, 6, 6, -1, -1, -1, -1, -1, "000000", F_EDIT},
{22, 30, 2, 2, -1, -1, -1, -1, -1, "OK", F_BUTTON},
{22, 50, 2, 2, -1, -1, -1, -1, -1, "Cancel", F_BUTTON},
};