diff options
author | Kenneth R Westerback <krw@cvs.openbsd.org> | 2006-09-26 23:33:05 +0000 |
---|---|---|
committer | Kenneth R Westerback <krw@cvs.openbsd.org> | 2006-09-26 23:33:05 +0000 |
commit | 2bf9309e28746a4b6a52286fbfaa52035e8bc80e (patch) | |
tree | 1a0c40b9e97feb2a6762ccc9486778b4e20fb856 /sys/scsi | |
parent | ecd84bf31bad64b35b9fc94c35074f968296f988 (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/scsi')
-rw-r--r-- | sys/scsi/cd.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/scsi/cd.c b/sys/scsi/cd.c index 5cee420fd60..b99bfac1f06 100644 --- a/sys/scsi/cd.c +++ b/sys/scsi/cd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: cd.c,v 1.110 2006/07/29 02:40:45 krw Exp $ */ +/* $OpenBSD: cd.c,v 1.111 2006/09/26 23:33:04 krw Exp $ */ /* $NetBSD: cd.c,v 1.100 1997/04/02 02:29:30 mycroft Exp $ */ /* @@ -1196,7 +1196,6 @@ cdgetdisklabel(dev, cd, lp, clp, spoofonly) lp->d_secperunit = cd->params.disksize; lp->d_rpm = 300; lp->d_interleave = 1; - lp->d_flags = D_REMOVABLE; /* XXX - these values for BBSIZE and SBSIZE assume ffs */ lp->d_bbsize = BBSIZE; |