summaryrefslogtreecommitdiffstats
path: root/usr.sbin/bsdinstall/partedit/partedit.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/bsdinstall/partedit/partedit.c')
-rw-r--r--usr.sbin/bsdinstall/partedit/partedit.c11
1 files changed, 7 insertions, 4 deletions
diff --git a/usr.sbin/bsdinstall/partedit/partedit.c b/usr.sbin/bsdinstall/partedit/partedit.c
index 80430c6..e232398 100644
--- a/usr.sbin/bsdinstall/partedit/partedit.c
+++ b/usr.sbin/bsdinstall/partedit/partedit.c
@@ -89,7 +89,7 @@ main(int argc, const char **argv)
init_dialog(stdin, stdout);
if (!sade_mode)
- dialog_vars.backtitle = __DECONST(char *, "FreeBSD Installer");
+ dialog_vars.backtitle = __DECONST(char *, "pfSense Installer");
dialog_vars.item_help = TRUE;
nscroll = i = 0;
@@ -113,7 +113,7 @@ main(int argc, const char **argv)
return (error);
}
} else {
- prompt = "Create partitions for FreeBSD. No changes will be "
+ prompt = "Create partitions for pfSense. No changes will be "
"made until you select Finish.";
}
@@ -283,7 +283,7 @@ validate_setup(void)
if (root == NULL) {
dialog_msgbox("Error", "No root partition was found. "
- "The root FreeBSD partition must have a mountpoint of '/'.",
+ "The root pfSense partition must have a mountpoint of '/'.",
0, 0, TRUE);
return (FALSE);
}
@@ -296,7 +296,7 @@ validate_setup(void)
dialog_vars.defaultno = TRUE;
cancel = dialog_yesno("Warning", "The chosen root partition "
"has a preexisting filesystem. If it contains an existing "
- "FreeBSD system, please update it with freebsd-update "
+ "pfSense system, please update it "
"instead of installing a new system on it. The partition "
"can also be erased by pressing \"No\" and then deleting "
"and recreating it. Are you sure you want to proceed?",
@@ -486,6 +486,9 @@ add_geom_children(struct ggeom *gp, int recurse, struct partedit_item **items,
/* Skip WORM media */
if (strncmp(pp->lg_name, "cd", 2) == 0)
continue;
+ /* Skip memory disk used by factory mfsroot */
+ if (strncmp(pp->lg_name, "md", 2) == 0)
+ continue;
*items = realloc(*items,
(*nitems+1)*sizeof(struct partedit_item));
OpenPOWER on IntegriCloud