summaryrefslogtreecommitdiffstats
path: root/release/sysinstall/disks.c
diff options
context:
space:
mode:
authorjkh <jkh@FreeBSD.org>1997-01-24 07:47:17 +0000
committerjkh <jkh@FreeBSD.org>1997-01-24 07:47:17 +0000
commit59d748d531a74d6c2828bcf19995d5f5f10febe6 (patch)
tree940c1bd16f1ab77767b69b096d717e77cd20db11 /release/sysinstall/disks.c
parent665db5b3e7479a15dcdb878e11d1958774ff6b8b (diff)
downloadFreeBSD-src-59d748d531a74d6c2828bcf19995d5f5f10febe6.zip
FreeBSD-src-59d748d531a74d6c2828bcf19995d5f5f10febe6.tar.gz
This is a patch that makes some of the "partitions" --> "slice" to be
more consistant in our use of the terms for differentiation between PC partitions and traditional BSD partitions. Submitted-By: obrien@cs.ucdavis.edu (David O'Brien)
Diffstat (limited to 'release/sysinstall/disks.c')
-rw-r--r--release/sysinstall/disks.c22
1 files changed, 11 insertions, 11 deletions
diff --git a/release/sysinstall/disks.c b/release/sysinstall/disks.c
index d315468..44deb3e 100644
--- a/release/sysinstall/disks.c
+++ b/release/sysinstall/disks.c
@@ -117,11 +117,11 @@ static void
print_command_summary()
{
mvprintw(14, 0, "The following commands are supported (in upper or lower case):");
- mvprintw(16, 0, "A = Use Entire Disk B = Bad Block Scan C = Create Partition");
- mvprintw(17, 0, "D = Delete Partition G = Set Drive Geometry S = Set Bootable");
+ mvprintw(16, 0, "A = Use Entire Disk B = Bad Block Scan C = Create Slice");
+ mvprintw(17, 0, "D = Delete Slice G = Set Drive Geometry S = Set Bootable");
mvprintw(18, 0, "U = Undo All Changes Q = Finish");
if (!RunningAsInit)
- mvprintw(18, 46, "W = Write Changes");
+ mvprintw(18, 48, "W = Write Changes");
mvprintw(21, 0, "Use F1 or ? to get more help, arrow keys to select.");
move(0, 0);
}
@@ -270,7 +270,7 @@ diskPartition(Device *dev, Disk *d)
case 'B':
if (chunk_info[current_chunk]->type != freebsd)
- msg = "Can only scan for bad blocks in FreeBSD partition.";
+ msg = "Can only scan for bad blocks in FreeBSD slice.";
else if (strncmp(d->name, "sd", 2) ||
!msgYesNo("This typically makes sense only for ESDI, IDE or MFM drives.\n"
"Are you sure you want to do this on a SCSI disk?")) {
@@ -284,14 +284,14 @@ diskPartition(Device *dev, Disk *d)
case 'C':
if (chunk_info[current_chunk]->type != unused)
- msg = "Partition in use, delete it first or move to an unused one.";
+ msg = "Slice in use, delete it first or move to an unused one.";
else {
char *val, tmp[20], *cp;
int size, subtype;
chunk_e partitiontype;
snprintf(tmp, 20, "%d", chunk_info[current_chunk]->size);
- val = msgGetInput(tmp, "Please specify the size for new FreeBSD partition in blocks\n"
+ val = msgGetInput(tmp, "Please specify the size for new FreeBSD slice in blocks\n"
"or append a trailing `M' for megabytes (e.g. 20M).");
if (val && (size = strtol(val, &cp, 0)) > 0) {
if (*cp && toupper(*cp) == 'M')
@@ -299,7 +299,7 @@ diskPartition(Device *dev, Disk *d)
strcpy(tmp, "165");
val = msgGetInput(tmp, "Enter type of partition to create:\n\n"
"Pressing Enter will choose the default, a native FreeBSD\n"
- "partition (type 165). You can choose other types, 6 for a\n"
+ "slice (type 165). You can choose other types, 6 for a\n"
"DOS partition or 131 for a Linux partition, for example.\n\n"
"Note: If you choose a non-FreeBSD partition type, it will not\n"
"be formatted or otherwise prepared, it will simply reserve space\n"
@@ -325,7 +325,7 @@ diskPartition(Device *dev, Disk *d)
case KEY_DC:
case 'D':
if (chunk_info[current_chunk]->type == unused)
- msg = "Partition is already unused!";
+ msg = "Slice is already unused!";
else {
Delete_Chunk(d, chunk_info[current_chunk]);
variable_set2(DISK_PARTITIONED, "yes");
@@ -440,9 +440,9 @@ diskPartition(Device *dev, Disk *d)
char buf[FILENAME_MAX];
dialog_clear_norefresh();
- use_helpline("Press F1 to read more about disk partitioning.");
+ use_helpline("Press F1 to read more about disk slices.");
use_helpfile(systemHelpFile("partition", buf));
- dialog_mesgbox("Disk partitioning warning:", p, -1, -1);
+ dialog_mesgbox("Disk slicing warning:", p, -1, -1);
free(p);
}
restorescr(w);
@@ -560,7 +560,7 @@ diskPartitionWrite(dialogMenuItem *self)
if (c1->flags & CHUNK_BAD144) {
int ret;
- msgNotify("Running bad block scan on partition %s", c1->name);
+ msgNotify("Running bad block scan on slice %s", c1->name);
if (!Fake) {
ret = vsystem("bad144 -v /dev/r%s 1234", c1->name);
if (ret)
OpenPOWER on IntegriCloud