Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 16 Oct 1998 09:43:37 -0400
From:      "Steve Friedrich" <SteveFriedrich@Hot-Shot.com>
To:        "Kenneth D. Merry" <ken@plutotech.com>
Cc:        "freebsd-scsi@FreeBSD.ORG" <freebsd-scsi@FreeBSD.ORG>
Subject:   Re: Official way to detect CAM?
Message-ID:  <199810161344.JAA24236@laker.net>

next in thread | raw e-mail | index | archive | help
On Thu, 15 Oct 1998 20:38:32 -0600 (MDT), Kenneth D. Merry wrote:

>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.

I may have misunderstood... I thought the discussion was regarding
detecting CAM while running an application, not building it... So sorry
8o)
Unix systems measure "uptime" in years, Winblows measures it in minutes.



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?199810161344.JAA24236>