[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freebsd-hackers
Subject:    Re: Mapping SCSI driver to USB one.
From:       arrowdodger <6yearold () gmail ! com>
Date:       2014-12-03 11:57:54
Message-ID: CALH631kYx3x7L5cz+wHop2spn+nUo1AtrHn=Ub2s9ZyZxKjQ+Q () mail ! gmail ! com
[Download RAW message or body]

On Tue, Dec 2, 2014 at 11:54 PM, Hans Petter Selasky <hps@selasky.org>
wrote:

> 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
>
>
Nope, unfortunately devinfo gives

       ehci0
          usbus1
            uhub1
              umass0

for my flash drive.
_______________________________________________
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org"
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic