aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPoul-Henning Kamp <phk@FreeBSD.org>1994-11-08 11:51:44 +0000
committerPoul-Henning Kamp <phk@FreeBSD.org>1994-11-08 11:51:44 +0000
commite0196256c7d242a271c4ea9bee2ac343bd666823 (patch)
tree610e11b23664cdda3f1c8fa040db3435e325b450
parent02006c7644967b576f2806ce1d49790f42d03c92 (diff)
downloadsrc-e0196256c7d242a271c4ea9bee2ac343bd666823.tar.gz
src-e0196256c7d242a271c4ea9bee2ac343bd666823.zip
Remember to set the d_type field correctly
Notes
Notes: svn path=/head/; revision=4274
-rw-r--r--sbin/sysinstall/label.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/sbin/sysinstall/label.c b/sbin/sysinstall/label.c
index 65d3d6029d92..7586861661fa 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) {