summaryrefslogtreecommitdiff
path: root/sys/arch/amd64
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/amd64
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/amd64')
-rw-r--r--sys/arch/amd64/stand/libsa/diskprobe.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/arch/amd64/stand/libsa/diskprobe.c b/sys/arch/amd64/stand/libsa/diskprobe.c
index ddb8990b963..d728a5a7ae0 100644
--- a/sys/arch/amd64/stand/libsa/diskprobe.c
+++ b/sys/arch/amd64/stand/libsa/diskprobe.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: diskprobe.c,v 1.3 2004/08/21 18:53:38 tom Exp $ */
+/* $OpenBSD: diskprobe.c,v 1.4 2006/09/26 23:33:04 krw Exp $ */
/*
* Copyright (c) 1997 Tobias Weingartner
@@ -255,7 +255,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;