From owner-freebsd-scsi Sun Jun 21 04:08:56 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id EAA05910 for freebsd-scsi-outgoing; Sun, 21 Jun 1998 04:08:56 -0700 (PDT) (envelope-from owner-freebsd-scsi@FreeBSD.ORG) Received: from hda.hda.com (hda-bicnet.bicnet.net [208.220.66.37]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id EAA05865 for ; Sun, 21 Jun 1998 04:08:47 -0700 (PDT) (envelope-from dufault@hda.hda.com) Received: (from dufault@localhost) by hda.hda.com (8.8.5/8.8.5) id GAA27420; Sun, 21 Jun 1998 06:42:48 -0400 (EDT) From: Peter Dufault Message-Id: <199806211042.GAA27420@hda.hda.com> Subject: Re: Rolling CAM in, what is still needed? In-Reply-To: <199806210305.VAA20485@panzer.plutotech.com> from "Kenneth D. Merry" at "Jun 20, 98 09:05:37 pm" To: ken@plutotech.com (Kenneth D. Merry) Date: Sun, 21 Jun 1998 06:42:48 -0400 (EDT) Cc: jonny@jonny.eng.br, ken@plutotech.com, mjacob@feral.com, julian@whistle.com, ckempf@enigami.com, freebsd-scsi@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL25 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-scsi@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > > Isn't this what /dev/xxx.ctl does ? > > My guess is that that is what it was supposed to do in theory, but > in practice, I don't think it does. I looked at the open routines in the > current cd, sd and st drivers, and none of them check to see if it was the > control device that was opened. So if no media is in the drive, the open > will fail. Take a look at scsi_open. All opens go through there first, and that is where it checks to see if it is the control device. Peter -- Peter Dufault (dufault@hda.com) Realtime development, Machine control, HD Associates, Inc. Safety critical systems, Agency approval To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message