From 5a28b05c433b26779877932c143d9d238c21d22f Mon Sep 17 00:00:00 2001 From: Wikinaut Date: Wed, 1 Feb 2017 19:37:02 +0100 Subject: [PATCH] adapted the doc according to qvm-block --help `qvm-block --help` says either device-vm-name:device or vm-name --- common-tasks/usb.md | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/common-tasks/usb.md b/common-tasks/usb.md index a9e7b501..56fe65e9 100644 --- a/common-tasks/usb.md +++ b/common-tasks/usb.md @@ -44,7 +44,7 @@ follows: 1. Insert your USB drive. 2. In a dom0 console (running as a normal user), list all available block - devices: + devices: qvm-block -l @@ -66,7 +66,7 @@ follows: 3. Assuming your USB drive is attached to dom0 and is `sdb`, we attach the device to a qube with the name `personal` like so: - qvm-block -a personal dom0:sdb + qvm-block -a personal dom0:sdb This will attach the device to the qube as `/dev/xvdi` if that name is not already taken by another attached device, or `/dev/xvdj`, etc. @@ -88,9 +88,13 @@ follows: 5. When you finish using your USB drive, click the eject button or right-click and select **Unmount**. - 6. In a dom0 console, detach the stick: + 6. In a dom0 console, detach the stick - qvm-block -d + qvm-block -d + + or + + qvm-block -d 7. You may now remove the device.