summaryrefslogtreecommitdiff
path: root/sys/arch/sparc64
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/sparc64
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/sparc64')
-rw-r--r--sys/arch/sparc64/dev/fd.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/arch/sparc64/dev/fd.c b/sys/arch/sparc64/dev/fd.c
index 750966ffab7..04f71364c2c 100644
--- a/sys/arch/sparc64/dev/fd.c
+++ b/sys/arch/sparc64/dev/fd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: fd.c,v 1.6 2006/03/15 20:20:41 miod Exp $ */
+/* $OpenBSD: fd.c,v 1.7 2006/09/26 23:33:04 krw Exp $ */
/* $NetBSD: fd.c,v 1.112 2003/08/07 16:29:35 agc Exp $ */
/*-
@@ -2021,7 +2021,6 @@ fdgetdisklabel(dev)
strncpy(lp->d_typename, "floppy disk", sizeof(lp->d_typename));
strncpy(lp->d_packname, "fictitious", sizeof(lp->d_packname));
lp->d_interleave = 1;
- lp->d_flags = D_REMOVABLE;
lp->d_partitions[RAW_PART].p_offset = 0;
lp->d_partitions[RAW_PART].p_size = lp->d_secpercyl * lp->d_ncylinders;