fre. 28. feb. 2020 kl. 22.47 skrev Steve Coleman <[email protected] >:
> 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. > When I execute "sudo mount /dev/xvdi /mnt" in the terminal of the VM, I get this error: “mount: /dev/xvdi/mnt: can’t find in /etc/fstab. And I get this with both devices. -- 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/CABRRaUEFqjG97VrXj5nR2A%2BRWTRbEXeT1t9pfqMh8FeYfu0zew%40mail.gmail.com.
