Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 21 Jun 1998 06:42:48 -0400 (EDT)
From:      Peter Dufault <dufault@hda.com>
To:        ken@plutotech.com (Kenneth D. Merry)
Cc:        jonny@jonny.eng.br, ken@plutotech.com, mjacob@feral.com, julian@whistle.com, ckempf@enigami.com, freebsd-scsi@FreeBSD.ORG
Subject:   Re: Rolling CAM in, what is still needed?
Message-ID:  <199806211042.GAA27420@hda.hda.com>
In-Reply-To: <199806210305.VAA20485@panzer.plutotech.com> from "Kenneth D. Merry" at "Jun 20, 98 09:05:37 pm"

next in thread | previous in thread | raw e-mail | index | archive | help
> > 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199806211042.GAA27420>