On 2/28/20, A E <[email protected]> wrote:
> fre. 28. feb. 2020 kl. 21.07 skrev <[email protected]>:
>
>> On Fri, Feb 28, 2020 at 12:01:04PM -0800, A wrote:
>> > I have attached my mobile phone to a VM, but can’t find its directory
>> > in the file manager of that VM.
>>
>> in which way did you attach it?
>> do qvm-block or qvm-usb show it as attached to the right vm?
>> does it show up in /proc/partitions or lsusb in the target vm?
>>
>> and does whatever you are trying to do work in sys-usb?
>>
>>
>>
>>
> Thank you for your very quick response.
>
> The mobile phone is listed as two devices:
>
> 1)  sys-usb: sda - Disk ()
>
> 2)  sys-usb: 1-3 - ..._Mass_Storage_Device_...
>
> I have tried to attach both - one at a time - in the following way.
>
> I attached it by clicking on the device icon -> The device (mobile phone
> storage) -> The VM that I would like it to be attached to.
>
> When attached, they both appear as such according to qvm-block and qvm-usb
> in dom0.
>
> When I attached the second one, and execute lsusb in the VM terminal where
> it is attached to, it show up.
>
> I don’t know how to check the attachment of the first device in the VM
> terminal.
>
> In the file manager of the attached VM under /proc/partitions, I find a
> file that only displays partitions with xvd... I don’t know if the attached
> partitions is some of these.
>
> No, I haven’t been able to locate the directory of the mobile phone in the
> file manager of the sys-usb VM either.
>
> Any ideas on how to proceed... ?

If using your file manager in the AppVM does not display the new
device you can always use qvm-block in dom0 to tell you where the
device is currently assigned, and under what name.
Once you have attached the device to your AppVM you can run qvm-block
in dom0 with no arguments and it will display the device name in the
results. You will see it as "frontend-dev=<your device name>" on that
line on the right. Probably "xvdi" or something close to that.

Then you can then use the mount command in the AppVM to mount the
device (e.g. "/dev/xvdi" ) wherever you like.

-- 
You received this message because you are subscribed to the Google Groups 
"qubes-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/CAJ5FDnhQshg%2BnDmTGGB8OCT%3DXLt4oVnhqO9OnY_sZxMLDUjbTA%40mail.gmail.com.

Reply via email to