From owner-freebsd-scsi Sun Jun 21 15:12:13 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id PAA10601 for freebsd-scsi-outgoing; Sun, 21 Jun 1998 15:12:13 -0700 (PDT) (envelope-from owner-freebsd-scsi@FreeBSD.ORG) Received: from panzer.plutotech.com (ken@panzer.plutotech.com [206.168.67.125]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id PAA10589 for ; Sun, 21 Jun 1998 15:12:09 -0700 (PDT) (envelope-from ken@panzer.plutotech.com) Received: (from ken@localhost) by panzer.plutotech.com (8.8.8/8.8.5) id QAA24248; Sun, 21 Jun 1998 16:11:15 -0600 (MDT) From: "Kenneth D. Merry" Message-Id: <199806212211.QAA24248@panzer.plutotech.com> Subject: Re: Rolling CAM in, what is still needed? In-Reply-To: <199806211042.GAA27420@hda.hda.com> from Peter Dufault at "Jun 21, 98 06:42:48 am" To: dufault@hda.com (Peter Dufault) Date: Sun, 21 Jun 1998 16:11:15 -0600 (MDT) Cc: ken@plutotech.com, jonny@jonny.eng.br, mjacob@feral.com, julian@whistle.com, ckempf@enigami.com, freebsd-scsi@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL28s (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 Peter Dufault wrote... > > > 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. Ahh, you're correct. I should have looked more closely. Ken -- Kenneth Merry ken@plutotech.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message