Date: Tue, 02 Dec 2014 21:54:50 +0100 From: Hans Petter Selasky <hps@selasky.org> To: arrowdodger <6yearold@gmail.com>, freebsd-hackers <freebsd-hackers@freebsd.org> Subject: Re: Mapping SCSI driver to USB one. Message-ID: <547E271A.6070005@selasky.org> In-Reply-To: <CALH631kGdAh_Eod5OsAeFKB4c5XgW88ghD3Rm%2BhT0Z04UNC8rQ@mail.gmail.com> References: <CALH631kGdAh_Eod5OsAeFKB4c5XgW88ghD3Rm%2BhT0Z04UNC8rQ@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?547E271A.6070005>