Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 29 Nov 1996 01:17:00 +0100 (MET)
From:      J Wunsch <j@uriah.heep.sax.de>
To:        freebsd-hackers@freebsd.org (FreeBSD hackers)
Cc:        imp@village.org
Subject:   Re: eject for JAZ drives
Message-ID:  <199611290017.BAA26548@uriah.heep.sax.de>
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
As Jason Thorpe 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.

That's what we've got the `od' driver for.  Basically similar things,
though.

OTOH, if the driver doesn't support it, you can still do:

	scsi -f /dev/rsd1.ctl -c "1b 0 0 0 2 0"

-- 
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?199611290017.BAA26548>