summaryrefslogtreecommitdiffstats
path: root/release/sysinstall/disks.c
diff options
context:
space:
mode:
authorjkh <jkh@FreeBSD.org>1997-01-15 07:06:39 +0000
committerjkh <jkh@FreeBSD.org>1997-01-15 07:06:39 +0000
commit870f49cf8fed65c34b8fbd9c80155b829b356528 (patch)
tree204db2ee1ecafeb4de8e3646c8d64a0d900de4e1 /release/sysinstall/disks.c
parent0a45d47c6d7181202cb56c9f539c4c9d7d7f9db9 (diff)
downloadFreeBSD-src-870f49cf8fed65c34b8fbd9c80155b829b356528.zip
FreeBSD-src-870f49cf8fed65c34b8fbd9c80155b829b356528.tar.gz
Make the bindist-only checks actually work.
Add code which theoretically should let you get a disk up from start to finish while running multiuser, using your existing /dev entries.
Diffstat (limited to 'release/sysinstall/disks.c')
-rw-r--r--release/sysinstall/disks.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/release/sysinstall/disks.c b/release/sysinstall/disks.c
index c82896e..fb66e3a 100644
--- a/release/sysinstall/disks.c
+++ b/release/sysinstall/disks.c
@@ -389,8 +389,7 @@ diskPartition(Device *dev, Disk *d)
* disk (i.e., the disklabel starts at sector 0), even in cases where the user has requested
* booteasy or a "standard" MBR -- both would be fatal in this case.
*/
- if ((d->chunks->part->flags & CHUNK_FORCE_ALL) != CHUNK_FORCE_ALL
- && (mbrContents = getBootMgr(d->name)) != NULL)
+ if (!(d->chunks->part->flags & CHUNK_FORCE_ALL) && (mbrContents = getBootMgr(d->name)) != NULL)
Set_Boot_Mgr(d, mbrContents);
if (DITEM_STATUS(diskPartitionWrite(NULL)) != DITEM_SUCCESS)
OpenPOWER on IntegriCloud