Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 15 Oct 1998 20:38:32 -0600 (MDT)
From:      "Kenneth D. Merry" <ken@plutotech.com>
To:        SteveFriedrich@Hot-Shot.com
Cc:        freebsd-scsi@FreeBSD.ORG
Subject:   Re: Official way to detect CAM?
Message-ID:  <199810160238.UAA22128@panzer.plutotech.com>
In-Reply-To: <199810160128.VAA03092@laker.net> from Steve Friedrich at "Oct 15, 98 09:27:22 pm"

next in thread | previous in thread | raw e-mail | index | archive | help
Steve Friedrich wrote...
> On Thu, 15 Oct 1998 14:59:11 -0600 (MDT), Kenneth D. Merry wrote:
> 
> >Julian Elischer wrote...
> >> Are there no sysctl tunables for cam?
> >> that would be definative..
> >
> >The only sysctl variables are for the CD driver, and you wouldn't be able
> >to detect that unless you've got the CD driver in your kernel.
> >
> >Checking for camlib.h is probably the best way, since most userland SCSI
> >applications won't be able to compile without it.
> 
> That creates a dependancy on source.  Not good programming practice,
> IMHO.

Well, when you're compiling source code, you're going to have to depend on
various header files being there...  If those headers aren't there, your
application won't compile.

Ken
-- 
Kenneth Merry
ken@plutotech.com

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?199810160238.UAA22128>