diff options
author | jkh <jkh@FreeBSD.org> | 1998-09-30 21:55:33 +0000 |
---|---|---|
committer | jkh <jkh@FreeBSD.org> | 1998-09-30 21:55:33 +0000 |
commit | 80910f03a69a2e4ed250e0cf4160efc400ec14da (patch) | |
tree | 36c75eefd789eb06f3a8175da3970c51a57953e9 /usr.sbin/sade/disks.c | |
parent | 5ace21ca08a3a0ea7c8d70a07f3e603f3d9bd9bc (diff) | |
download | FreeBSD-src-80910f03a69a2e4ed250e0cf4160efc400ec14da.zip FreeBSD-src-80910f03a69a2e4ed250e0cf4160efc400ec14da.tar.gz |
Add another check to prevent user from hanging themselves on alpha.
Diffstat (limited to 'usr.sbin/sade/disks.c')
-rw-r--r-- | usr.sbin/sade/disks.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/usr.sbin/sade/disks.c b/usr.sbin/sade/disks.c index 64d8f6a..9222a39 100644 --- a/usr.sbin/sade/disks.c +++ b/usr.sbin/sade/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"); |