From 2bf9309e28746a4b6a52286fbfaa52035e8bc80e Mon Sep 17 00:00:00 2001 From: Kenneth R Westerback Date: Tue, 26 Sep 2006 23:33:05 +0000 Subject: 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@ --- sys/arch/i386/stand/libsa/diskprobe.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'sys/arch/i386') 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; -- cgit v1.2.3