summaryrefslogtreecommitdiff
path: root/sys/arch/i386
diff options
context:
space:
mode:
authorKenneth R Westerback <krw@cvs.openbsd.org>2006-09-26 23:33:05 +0000
committerKenneth R Westerback <krw@cvs.openbsd.org>2006-09-26 23:33:05 +0000
commit2bf9309e28746a4b6a52286fbfaa52035e8bc80e (patch)
tree1a0c40b9e97feb2a6762ccc9486778b4e20fb856 /sys/arch/i386
parentecd84bf31bad64b35b9fc94c35074f968296f988 (diff)
Zap D_REMOVABLE flag from disklabel. If you didn't already know that
floppies and cd's were removable, displaying that fact in disklabel output was unlikely to help. And the display in disklabel was the only use of D_REMOVABLE in the tree. ok marco@
Diffstat (limited to 'sys/arch/i386')
-rw-r--r--sys/arch/i386/stand/libsa/diskprobe.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/arch/i386/stand/libsa/diskprobe.c b/sys/arch/i386/stand/libsa/diskprobe.c
index 838117b6a7c..d44228245e1 100644
--- a/sys/arch/i386/stand/libsa/diskprobe.c
+++ b/sys/arch/i386/stand/libsa/diskprobe.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: diskprobe.c,v 1.27 2004/06/23 00:21:49 tom Exp $ */
+/* $OpenBSD: diskprobe.c,v 1.28 2006/09/26 23:33:04 krw Exp $ */
/*
* Copyright (c) 1997 Tobias Weingartner
@@ -259,7 +259,6 @@ cdprobe(void)
dip->disklabel.d_secperunit = 100;
dip->disklabel.d_rpm = 300;
dip->disklabel.d_interleave = 1;
- dip->disklabel.d_flags = D_REMOVABLE;
dip->disklabel.d_bbsize = 2048;
dip->disklabel.d_sbsize = 2048;