From ff0360e5c7fa65d4ebfb059cac423b085ad8dd4c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Marczykowski-G=C3=B3recki?= Date: Sat, 25 Jul 2015 04:30:05 +0200 Subject: [PATCH 1/2] StickMounting: formatting --- StickMounting.md | 24 ++++++++++++++---------- 1 file changed, 14 insertions(+), 10 deletions(-) diff --git a/StickMounting.md b/StickMounting.md index 83d1a342..976ea84c 100644 --- a/StickMounting.md +++ b/StickMounting.md @@ -24,13 +24,17 @@ A command-line tool, `qvm-block`, is also available. This tool can be used to as qvm-block -l {% endhighlight %} -> This will list all available block devices connected to any USB controller in your system, no matter in which VM hosts the controller. The name of the VM hosting the USB controller is displayed before the colon in the device name. The string after the colon is the name of the device used within the VM. + This will list all available block devices connected to any USB controller + in your system, no matter in which VM hosts the controller. The name of the + VM hosting the USB controller is displayed before the colon in the device + name. The string after the colon is the name of the device used within the + VM. -> **Note:** If your device is not listed here, you may refresh the list by calling (from the VM to which device is connected): -> -> {% highlight trac-wiki %} -> sudo udevadm trigger --action=change -> {% endhighlight %} + **Note:** If your device is not listed here, you may refresh the list by calling (from the VM to which device is connected): + + {% highlight trac-wiki %} + sudo udevadm trigger --action=change + {% endhighlight %} 1. Connect the device to an AppVM: @@ -40,7 +44,7 @@ A command-line tool, `qvm-block`, is also available. This tool can be used to as **Note:** The order of these parameters was changed in Qubes 1.0-rc1. -> This will attach the device as "/dev/xvdi" in the AppVM. + This will attach the device as "/dev/xvdi" in the AppVM. 1. The USB stick is now attached to the AppVM. If using a default AppVM, you may open Nautilus file manager in the AppVM, and your stick should be visible in the **Devices** panel on the left. @@ -48,9 +52,9 @@ A command-line tool, `qvm-block`, is also available. This tool can be used to as 1. In a dom0 console, unmount the stick: -{% highlight trac-wiki %} -qvm-block -d -{% endhighlight %} + {% highlight trac-wiki %} + qvm-block -d + {% endhighlight %} 1. You may now remove the device. From 6254028b0e80b4a4412338afc342fb8f4fd8d3d7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Marczykowski-G=C3=B3recki?= Date: Sat, 25 Jul 2015 04:30:15 +0200 Subject: [PATCH 2/2] StickMounting: warning to not remove the stick before detaching it from a VM --- StickMounting.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/StickMounting.md b/StickMounting.md index 976ea84c..4e3bddc8 100644 --- a/StickMounting.md +++ b/StickMounting.md @@ -50,7 +50,7 @@ A command-line tool, `qvm-block`, is also available. This tool can be used to as 1. When you finish using your USB stick, click the eject button or right-click and select **Unmount**. -1. In a dom0 console, unmount the stick: +1. In a dom0 console, detach the stick: {% highlight trac-wiki %} qvm-block -d @@ -58,3 +58,6 @@ A command-line tool, `qvm-block`, is also available. This tool can be used to as 1. You may now remove the device. +**Warning: Do not remove the device before detatching it from the VM!** Otherwise you +will not be able to attach it anywhere later. See [this +ticket](https://github.com/QubesOS/qubes-issues/issues/1082) for details.