Deleted Added
full compact
disks.c (155965) disks.c (156123)
1/*
2 * The new sysinstall program.
3 *
4 * This is probably the last program in the `sysinstall' line - the next
5 * generation being essentially a complete rewrite.
6 *
1/*
2 * The new sysinstall program.
3 *
4 * This is probably the last program in the `sysinstall' line - the next
5 * generation being essentially a complete rewrite.
6 *
7 * $FreeBSD: head/usr.sbin/sade/disks.c 155965 2006-02-23 23:41:42Z jkim $
7 * $FreeBSD: head/usr.sbin/sade/disks.c 156123 2006-02-28 21:49:33Z jhb $
8 *
9 * Copyright (c) 1995
10 * Jordan Hubbard. All rights reserved.
11 *
12 * Redistribution and use in source and binary forms, with or without
13 * modification, are permitted provided that the following conditions
14 * are met:
15 * 1. Redistributions of source code must retain the above copyright

--- 159 unchanged lines hidden (view full) ---

175 slice_type_name(chunk_info[i]->type, chunk_info[i]->subtype),
176 chunk_info[i]->subtype, ShowChunkFlags(chunk_info[i]));
177 if (i == current_chunk)
178 attrset(A_NORMAL);
179 }
180}
181
182static void
8 *
9 * Copyright (c) 1995
10 * Jordan Hubbard. All rights reserved.
11 *
12 * Redistribution and use in source and binary forms, with or without
13 * modification, are permitted provided that the following conditions
14 * are met:
15 * 1. Redistributions of source code must retain the above copyright

--- 159 unchanged lines hidden (view full) ---

175 slice_type_name(chunk_info[i]->type, chunk_info[i]->subtype),
176 chunk_info[i]->subtype, ShowChunkFlags(chunk_info[i]));
177 if (i == current_chunk)
178 attrset(A_NORMAL);
179 }
180}
181
182static void
183print_command_summary()
183print_command_summary(void)
184{
185 mvprintw(14, 0, "The following commands are supported (in upper or lower case):");
186 mvprintw(16, 0, "A = Use Entire Disk G = set Drive Geometry C = Create Slice F = `DD' mode");
187 mvprintw(17, 0, "D = Delete Slice Z = Toggle Size Units S = Set Bootable | = Wizard m.");
188 mvprintw(18, 0, "T = Change Type U = Undo All Changes Q = Finish");
189 if (!RunningAsInit)
190 mvprintw(18, 47, "W = Write Changes");
191 mvprintw(21, 0, "Use F1 or ? to get more help, arrow keys to select.");

--- 822 unchanged lines hidden ---
184{
185 mvprintw(14, 0, "The following commands are supported (in upper or lower case):");
186 mvprintw(16, 0, "A = Use Entire Disk G = set Drive Geometry C = Create Slice F = `DD' mode");
187 mvprintw(17, 0, "D = Delete Slice Z = Toggle Size Units S = Set Bootable | = Wizard m.");
188 mvprintw(18, 0, "T = Change Type U = Undo All Changes Q = Finish");
189 if (!RunningAsInit)
190 mvprintw(18, 47, "W = Write Changes");
191 mvprintw(21, 0, "Use F1 or ? to get more help, arrow keys to select.");

--- 822 unchanged lines hidden ---