Mapping SCSI driver to USB one.

Hans Petter Selasky hps at selasky.org
Tue Dec 2 20:54:33 UTC 2014


On 12/02/14 21:39, arrowdodger wrote:
> Hello.
> I'm playing around with sysutils/hal sources and can't find a way to obtain
> a SCSI driver to the corresponding USB device. In other words, knowing
> "umass0" i want to get "da0" for it.
>>From what i can tell, HAL uses CAM API's (/dev/xpt0 stuff), but working
> with it requires elevated privileges. Probably, because of that hald-runner
> is running under root.
> Is there any way to perform such mapping as regular user?

Hi,

Maybe "devinfo" will give you the answer.

--HPS



More information about the freebsd-hackers mailing list