Date: Thu, 8 Aug 96 13:57 MET DST From: shanee@rabbit.augusta.de (Andreas Kohout) To: scsi@freebsd.org Subject: Re: SCSI-Command to stop devices. Message-ID: <m0uoTin-000AGqC@rabbit.augusta.de> In-Reply-To: <1.5.4.32.19960807214049.00693efc@mail.rrz.uni-koeln.de> References: <1.5.4.32.19960807214049.00693efc@mail.rrz.uni-koeln.de>
next in thread | previous in thread | raw e-mail | index | archive | help
In article <1.5.4.32.19960807214049.00693efc@mail.rrz.uni-koeln.de>, afr04@rs1.rrz.Uni-Koeln.DE (Ralf Luettgen) writes: > Is there anyone who have knowings about the SCSI-command to stop a > harddisc? I asked the same question an get help from Joerg? anyway ... I use this shell-script to shutdown my second SCSI-Disk: #!/bin/sh scsi -s 20 -f /dev/rsd0.ctl -c "1b 0 0 0 0:b6 0:b1 v:b1 0" 0 touch /tmp/DOS-down and this one to spin it up: #!/bin/sh scsi -s 20 -f /dev/rsd0.ctl -c "1b 0 0 0 0:b6 0:b1 v:b1 0" 1 rm /tmp/DOS-down -- Greeting, Andy running FreeBSD-current ---------------------------------------------------------------------------
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?m0uoTin-000AGqC>