summaryrefslogtreecommitdiffstats
path: root/release
diff options
context:
space:
mode:
authorjkh <jkh@FreeBSD.org>1998-09-30 21:55:33 +0000
committerjkh <jkh@FreeBSD.org>1998-09-30 21:55:33 +0000
commit80910f03a69a2e4ed250e0cf4160efc400ec14da (patch)
tree36c75eefd789eb06f3a8175da3970c51a57953e9 /release
parent5ace21ca08a3a0ea7c8d70a07f3e603f3d9bd9bc (diff)
downloadFreeBSD-src-80910f03a69a2e4ed250e0cf4160efc400ec14da.zip
FreeBSD-src-80910f03a69a2e4ed250e0cf4160efc400ec14da.tar.gz
Add another check to prevent user from hanging themselves on alpha.
Diffstat (limited to 'release')
-rw-r--r--release/sysinstall/disks.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/release/sysinstall/disks.c b/release/sysinstall/disks.c
index 64d8f6a..9222a39 100644
--- a/release/sysinstall/disks.c
+++ b/release/sysinstall/disks.c
@@ -4,7 +4,7 @@
* This is probably the last program in the `sysinstall' line - the next
* generation being essentially a complete rewrite.
*
- * $Id: disks.c,v 1.100 1998/09/15 10:24:46 gibbs Exp $
+ * $Id: disks.c,v 1.101 1998/09/30 21:48:11 jkh Exp $
*
* Copyright (c) 1995
* Jordan Hubbard. All rights reserved.
@@ -336,6 +336,11 @@ diskPartition(Device *dev)
partitiontype = fat;
else
partitiontype = unknown;
+#ifdef __alpha__
+ if (partitiontype == freebsd && size == chunk_info[current_chunk]->size)
+ All_FreeBSD(d, 1);
+ else
+#endif
Create_Chunk(d, chunk_info[current_chunk]->offset, size, partitiontype, subtype,
(chunk_info[current_chunk]->flags & CHUNK_ALIGN));
variable_set2(DISK_PARTITIONED, "yes");
OpenPOWER on IntegriCloud