Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 8 Aug 1996 09:36:29 +0200 (MET DST)
From:      J Wunsch <j@uriah.heep.sax.de>
To:        freebsd-scsi@freebsd.org
Cc:        afr04@rs1.rrz.Uni-Koeln.DE (Ralf Luettgen)
Subject:   Re: SCSI-Command to stop devices.
Message-ID:  <199608080736.JAA00292@uriah.heep.sax.de>
In-Reply-To: <1.5.4.32.19960807214049.00693efc@mail.rrz.uni-koeln.de> from Ralf Luettgen at "Aug 7, 96 11:40:49 pm"

next in thread | previous in thread | raw e-mail | index | archive | help
As Ralf Luettgen wrote:

> Is there anyone who have knowings about the SCSI-command to stop a harddisc?

scsi -s 30 -f /dev/rsd1.ctl -c "1b 0 0 0 0:b7 v:b1 0" ${start}

with ${start} = 1 to start it, or = 0 to stop it.

However, do ONLY apply this to a drive where all filesystems are
unmounted.  Currently, the kernel does not anticipate the drive not
being ready except at open() time.

-- 
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?199608080736.JAA00292>