From 870f49cf8fed65c34b8fbd9c80155b829b356528 Mon Sep 17 00:00:00 2001 From: jkh Date: Wed, 15 Jan 1997 07:06:39 +0000 Subject: 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. --- usr.sbin/sade/disks.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'usr.sbin/sade/disks.c') diff --git a/usr.sbin/sade/disks.c b/usr.sbin/sade/disks.c index c82896e..fb66e3a 100644 --- a/usr.sbin/sade/disks.c +++ b/usr.sbin/sade/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) -- cgit v1.1