From owner-freebsd-scsi Fri May 24 11:00:12 1996 Return-Path: owner-freebsd-scsi Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id LAA11829 for freebsd-scsi-outgoing; Fri, 24 May 1996 11:00:12 -0700 (PDT) Received: from zed.ludd.luth.se (root@zed.ludd.luth.se [130.240.16.33]) by freefall.freebsd.org (8.7.3/8.7.3) with ESMTP id LAA11820 for ; Fri, 24 May 1996 11:00:08 -0700 (PDT) Received: from star.ludd.luth.se (star.ludd.luth.se [130.240.16.53]) by zed.ludd.luth.se (8.7.5/8.7.2) with ESMTP id TAA08306; Fri, 24 May 1996 19:59:59 +0200 From: Joakim Henriksson Received: (murduth@localhost) by star.ludd.luth.se (8.6.11/8.6.11) id UAA04134; Fri, 24 May 1996 20:00:04 +0200 Message-Id: <199605241800.UAA04134@star.ludd.luth.se> Subject: Re: How to send "start unit" to disk during boot? To: hdalog@zipnet.net Date: Fri, 24 May 1996 20:00:01 +0200 (MET DST) Cc: murduth@ludd.luth.se, af@biomath.jussieu.fr, freebsd-scsi@freebsd.org In-Reply-To: <199605241657.MAA24459@hda> from Peter Dufault at "May 24, 96 12:57:27 pm" X-Mailer: ELM [version 2.4ME+ PL15 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-scsi@freebsd.org X-Loop: FreeBSD.org Precedence: bulk According to Peter Dufault: > > which works just like scsi but on rz disks :) > > All numbers inside the command format argument are in hex to match > the SCSI spec. All arguments interpreted by the command format > are read using strtol with 0 base and so are default decimal, hex > if preceded by "0x" and octal if preceded by "0". Ok. > scsi(8) won't edit mode pages without a format descriptor in > scsi_modes, though, so you'll need documentation on that mode page. Hmmm, that could cause some problems! The page on which the spinup parameter is is on a vendor specific page if i recall correctly. So if you reference it in the /usr/share/misc/scsi_modes you might run into big troubles if some other disk vendor use the same page, for something entirely different, wich they might since its vendor specific. You could get your disk to agressivly not want to cooperate if you change the parameter on a disk which use the same page for something entirely different, couldn't you? regards/ Joakim