Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 30 May 1997 08:53:45 +0200
From:      j@uriah.heep.sax.de (J Wunsch)
To:        scsi@FreeBSD.ORG
Subject:   Re: ZIP drive eject
Message-ID:  <19970530085345.AB01517@uriah.heep.sax.de>
In-Reply-To: <19970529233700.VT43737@uriah.heep.sax.de>; from J Wunsch on May 29, 1997 23:37:00 %2B0200
References:  <199705281716.OAA16552@gaia.coppe.ufrj.br> <19970529170249.26384@ct.picker.com> <19970529233700.VT43737@uriah.heep.sax.de>

next in thread | previous in thread | raw e-mail | index | archive | help
As J Wunsch wrote:

> > Is it possible to eject a ZIP via S/W when using the "sd" driver?
> 
> No.

Ooops.  Of course, i forgot about scsi(8).

  scsi -f /dev/rsdX.ctl -s 30 -c "1b 0 0 0 0:b6 v:b1 v:b1 0" $loej $start

with

	$loej	$start	action
	0	0	stop, don't eject medium
	1	0	stop & eject
	0	1	start, but don't try to load medium
	1	1	start & load medium

The command is optional, and not all combinations need to be supported
-- obviously.  A DAT or caddy CD-ROM drive would support ejecting, but
not loading.

-- 
cheers, J"org

joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19970530085345.AB01517>