summaryrefslogtreecommitdiffstats
path: root/usr.sbin/sysinstall/sysinstall.h
diff options
context:
space:
mode:
authorjkh <jkh@FreeBSD.org>1997-01-22 00:15:51 +0000
committerjkh <jkh@FreeBSD.org>1997-01-22 00:15:51 +0000
commitc7ed70aaebb41be1a4b6a1ede797609d522a0906 (patch)
tree8012598730759d3b92126925bca2c1f215af4fbc /usr.sbin/sysinstall/sysinstall.h
parent04a08427c7d068d0a067bff780df51d9da1fbbae (diff)
downloadFreeBSD-src-c7ed70aaebb41be1a4b6a1ede797609d522a0906.zip
FreeBSD-src-c7ed70aaebb41be1a4b6a1ede797609d522a0906.tar.gz
Argh! Moving the media initialization to before the disk scribbling
section was a good thing, since it made it possible to detect media problems *before* the installation started, but it also caused various things to be mounted BEFORE the chroot() call, which definitely messes things up. Fix this by detecting the pre-chroot() case and mounting into a subdir.
Diffstat (limited to 'usr.sbin/sysinstall/sysinstall.h')
-rw-r--r--usr.sbin/sysinstall/sysinstall.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/usr.sbin/sysinstall/sysinstall.h b/usr.sbin/sysinstall/sysinstall.h
index 3ef68e6..3de34c9 100644
--- a/usr.sbin/sysinstall/sysinstall.h
+++ b/usr.sbin/sysinstall/sysinstall.h
@@ -313,6 +313,7 @@ extern int DebugFD; /* Where diagnostic output goes */
extern Boolean Fake; /* Don't actually modify anything - testing */
extern Boolean SystemWasInstalled; /* Did we install it? */
extern Boolean RunningAsInit; /* Are we running stand-alone? */
+extern Boolean Chrooted; /* Yow, are we chrooted yet? */
extern Boolean DialogActive; /* Is the dialog() stuff up? */
extern Boolean ColorDisplay; /* Are we on a color display? */
extern Boolean OnVTY; /* On a syscons VTY? */
OpenPOWER on IntegriCloud