Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 3 Sep 2020 15:07:29 +0200
From:      Hans Petter Selasky <hps@selasky.org>
To:        Wojciech Puchar <wojtek@puchar.net>, freebsd-hackers@freebsd.org
Subject:   Re: sendin raw scsi command
Message-ID:  <680f6f7c-a564-9150-36b3-371be0ee8766@selasky.org>
In-Reply-To: <alpine.BSF.2.20.2009031502530.72243@puchar.net>
References:  <alpine.BSF.2.20.2009031502530.72243@puchar.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On 2020-09-03 15:06, Wojciech Puchar wrote:
> i already figured how to list SCSI devices in FreeBSD and find what 
> interest me from C language.
> 
> After doing so - how can i send raw SCSI command?
> 
> That's all i need.
> 
> CAM layer userland interface is quite complex.
> 
> Thank you in advance

Hi,

usbtest can do this:

/usr/src/tools/tools/usbtest

--HPS



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?680f6f7c-a564-9150-36b3-371be0ee8766>