From e0196256c7d242a271c4ea9bee2ac343bd666823 Mon Sep 17 00:00:00 2001 From: Poul-Henning Kamp Date: Tue, 8 Nov 1994 11:51:44 +0000 Subject: [PATCH] Remember to set the d_type field correctly --- sbin/sysinstall/label.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/sbin/sysinstall/label.c b/sbin/sysinstall/label.c index 65d3d6029d9..7586861661f 100644 --- a/sbin/sysinstall/label.c +++ b/sbin/sysinstall/label.c @@ -436,6 +436,12 @@ DiskLabel() lbl->d_partitions[i].p_fstype = 0; } lbl->d_npartitions = MAXPARTITIONS; + + if(Dname[diskno][0] == 's' && Dname[diskno][1] == 'd') + lbl->d_type = DTYPE_SCSI; + else + lbl->d_type = DTYPE_ST506; + while(!done) { clear(); standend(); if (yip) {