Merge branch 'unman-patch-2'

This commit is contained in:
Andrew David Wong 2016-06-01 21:47:17 -07:00
commit 5ea4380647
No known key found for this signature in database
GPG Key ID: 8CE137352A019A17

View File

@ -35,16 +35,7 @@ USB drive mounting is integrated into the Qubes VM Manager GUI. Simply insert
your USB drive, right-click on the desired qube in the Qubes VM Manager list, your USB drive, right-click on the desired qube in the Qubes VM Manager list,
click **Attach/detach block devices**, and select your desired action and click **Attach/detach block devices**, and select your desired action and
device. This, however, only works for the whole device. If you would like to device. This, however, only works for the whole device. If you would like to
attach individual partitions, you must use the command-line tool (shown below). attach individual partitions, you must use the command-line tool.
The reason for this is that when attaching a single partition, it used to be
that the Nautilus file manager would not see it and automatically mount it (see
issue [623]). This problem, however, seems to be resolved (see
[this comment on issue 1072][1072-comm1]).
If, for some reason, the device does not appear in Nautilus and you still need
to attach just a single partition to a device, you will need to mount it
manually. The device will show up as `/dev/xvdi` (or `/dev/xvdj` if there is
already one device attached -- if two, `/dev/xvdk`, and so on).
The command-line tool you may use to mount whole USB drives or their partitions The command-line tool you may use to mount whole USB drives or their partitions
is `qvm-block`. This tool can be used to assign a USB drive to a qube as is `qvm-block`. This tool can be used to assign a USB drive to a qube as
@ -107,6 +98,14 @@ follows:
Otherwise, you will not be able to attach it anywhere later. See issue [1082] Otherwise, you will not be able to attach it anywhere later. See issue [1082]
for details. for details.
There have been reports that when attaching a single partition, the Nautilus
file manager would not see it and automatically mount it (see issue [623]).
This problem seems to be resolved (see [this comment on issue 1072][1072-comm1]).
If, however, the device does not appear in Nautilus, you will need to mount it
manually. The device will show up as `/dev/xvdi` (or `/dev/xvdj` if there is
already one device attached -- if two, `/dev/xvdk`, and so on).
### What if I removed the device before detaching it from the VM? ### ### What if I removed the device before detaching it from the VM? ###
@ -158,10 +157,8 @@ Xen does not yet provide working PVUSB functionality, so only USB mass storage
devices can be passed to individual qubes. devices can be passed to individual qubes.
For this reason, you may wish to avoid using a USB qube if you do not have a USB For this reason, you may wish to avoid using a USB qube if you do not have a USB
controller free of input devices and programmable devices. For example, if you controller free of input devices and programmable devices, although Qubes R3.1
use a USB mouse for the whole system, then delegating the sole USB controller to introduced support for USB mice and keyboards (see below).
a qube would cause your mouse to be usable only in that qube. However, most
laptops use PS-2 for keyboards and touchpad devices, which avoids this problem.
A USB qube acts as a secure handler for potentially malicious USB devices, A USB qube acts as a secure handler for potentially malicious USB devices,
preventing them from coming into contact with dom0 (which could otherwise be preventing them from coming into contact with dom0 (which could otherwise be