Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 15 Oct 1998 12:45:26 -0700 (PDT)
From:      Julian Elischer <julian@whistle.com>
To:        "Kenneth D. Merry" <ken@plutotech.com>
Cc:        nick.hibma@jrc.it, ckempf@enigami.com, joe@pavilion.net, freebsd-scsi@FreeBSD.ORG
Subject:   Re: Official way to detect CAM?
Message-ID:  <Pine.BSF.3.95.981015124500.6253B-100000@current1.whistle.com>
In-Reply-To: <199810151555.JAA17897@panzer.plutotech.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Are there no sysctl tunables for cam?
that would be definative..


On Thu, 15 Oct 1998, Kenneth D. Merry wrote:

> Nick Hibma wrote...
> > 
> > Or execute
> > 
> > 	 camcontrol periphlist
> > 
> > and look for '^ch[0-9]:'
> > 
> > Makes it possible to at the same time present a menu if multiple
> > changers are present.
> 
> Well, that probably won't do what you want.  The 'periphlist' function just
> prints out the list of peripherals attached to the given device. e.g.:
> 
> {roadwarrior:/usr/home/ken:1:0} camcontrol periphlist -n da -u 1
> pass1:  generation: 4 index: 1 status: MORE
> da1:  generation: 4 index: 2 status: LAST
> 
> {roadwarrior:/usr/home/ken:2:0} camcontrol periphlist
> pass0:  generation: 4 index: 1 status: MORE
> da0:  generation: 4 index: 2 status: LAST
> 
> You'll probably want to use 'camcontrol devlist' piped through a script to
> find all of the changers.  (i.e. something like Dan Nelson's script)
> 
> Sometime or another it might be nice to add command line pattern matching
> code to camcontrol.
> 
> Ken
> -- 
> Kenneth Merry
> ken@plutotech.com
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-scsi" in the body of the message
> 


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?Pine.BSF.3.95.981015124500.6253B-100000>