From owner-freebsd-bugs Sun Sep 19 16:50: 3 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 2422614DD3 for ; Sun, 19 Sep 1999 16:50:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id QAA91574; Sun, 19 Sep 1999 16:50:00 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: by hub.freebsd.org (Postfix, from userid 32767) id B503B14A28; Sun, 19 Sep 1999 16:49:43 -0700 (PDT) Message-Id: <19990919234943.B503B14A28@hub.freebsd.org> Date: Sun, 19 Sep 1999 16:49:43 -0700 (PDT) From: kientzle@acm.org To: freebsd-gnats-submit@freebsd.org X-Send-Pr-Version: www-1.0 Subject: kern/13843: da driver does not support 'CDIOCEJECT' ioctl Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 13843 >Category: kern >Synopsis: da driver does not support 'CDIOCEJECT' ioctl >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sun Sep 19 16:50:00 PDT 1999 >Closed-Date: >Last-Modified: >Originator: Tim Kientzle >Release: 3.2-RELEASE >Organization: >Environment: FreeBSD clover.kientzle.com 3.2-RELEASE FreeBSD 3.2-RELEASE #3: Sun Sep 19 15:28:03 PDT 1999 root@clover.kientzle.com:/usr/src/sys/compile/CLOVER i386 >Description: Since 'od' isn't a CAM driver, shouldn't 'da' support the 'CDIOCEJECT' ioctl, which is used to eject a variety of removable media (e.g., ZIP drives)? Having a way to programatically eject ZIP disks is quite handy; using 'od' on 2.2.X, I had edited rc.shutdown to eject any ZIP disks, which avoids some painful drive-lettering problems when you boot Windows. (It also ejects the disk, which is otherwise impossible---at least for internal drives---without turning the machine back on.) - Tim Kientzle >How-To-Repeat: The command: cdcontrol -f da0 eject Does not work with a SCSI internal ZIP drive (nor with an external parallel-port drive accessed through vp interface). >Fix: It looks like the code might be cut/pasted from scsi_cd.c to scsi_da.c. I don't know enough about the code to be sure; might be necessary to check and do this only for removable drives. >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message