Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 3 Dec 2014 00:39:29 +0400
From:      arrowdodger <6yearold@gmail.com>
To:        freebsd-hackers <freebsd-hackers@freebsd.org>
Subject:   Mapping SCSI driver to USB one.
Message-ID:  <CALH631kGdAh_Eod5OsAeFKB4c5XgW88ghD3Rm%2BhT0Z04UNC8rQ@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
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?



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CALH631kGdAh_Eod5OsAeFKB4c5XgW88ghD3Rm%2BhT0Z04UNC8rQ>