Date: Fri, 29 Nov 1996 10:40:42 +1030 (CST) From: Michael Smith <msmith@atrad.adelaide.edu.au> To: thorpej@nas.nasa.gov Cc: imp@village.org, hackers@freebsd.org Subject: Re: eject for JAZ drives Message-ID: <199611290010.KAA18442@genesis.atrad.adelaide.edu.au> In-Reply-To: <199611282315.PAA22500@lestat.nas.nasa.gov> from Jason Thorpe at "Nov 28, 96 03:14:59 pm"
next in thread | previous in thread | raw e-mail | index | archive | help
Jason Thorpe stands accused of saying: > On Thu, 28 Nov 1996 15:29:04 -0700 > Warner Losh <imp@village.org> wrote: > > > I wanna eject my jaz drive w/o stooping? Can I do it via software? > > It's pretty simple... if your sd driver supports something like the > DIOCLOCK and DIOCEJECT ioctls in NetBSD... If it does, you should be > able to fairly easily adapt NetBSD's eject(1) program. I just did some experimenting this morning before I came to work; the Jaz doesn't properly honour the 'Eject' bit in the START STOP UNIT command. It honours the 'Start' bit, ie. it will spin up/spin down, but doesn't eject. (FYI, "scsi -f /dev/rsd04c -s 15 -c "1b 0 0 0 2 0" was what I was trying, with variations on the '2' as Start is bit 0, Eject is bit 1) This was the only medium eject command I could find for direct-access devices; perhaps the Jaz honours CD-style medium control commands? > Jason R. Thorpe thorpej@nas.nasa.gov -- ]] Mike Smith, Software Engineer msmith@gsoft.com.au [[ ]] Genesis Software genesis@gsoft.com.au [[ ]] High-speed data acquisition and (GSM mobile) 0411-222-496 [[ ]] realtime instrument control. (ph) +61-8-8267-3493 [[ ]] Unix hardware collector. "Where are your PEZ?" The Tick [[
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199611290010.KAA18442>