From 0dad14a4e41c07327cd1369a69d2b8f7ffb671bb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Marczykowski-G=C3=B3recki?= Date: Sat, 31 Jan 2015 16:10:21 +0000 Subject: [PATCH] DiskTRIM changed Fix instruction on getting UUID --- DiskTRIM.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/DiskTRIM.md b/DiskTRIM.md index 0732fe8c..a7f6e96d 100644 --- a/DiskTRIM.md +++ b/DiskTRIM.md @@ -8,13 +8,13 @@ VMs have already TRIM enabled by default, but dom0 doesn't. There are some secur To enable TRIM in dom0 you need: -1. Get your root device UUID: +1. Get your LUKS device UUID: ``` {.wiki} - blkid /dev/mapper/*root + ls /dev/mapper/luks-* ``` -2. Add entry to `/etc/crypttab` (replace \ with the device UUID): +2. Add entry to `/etc/crypttab` (replace luks-\ with the device name and the \ with UUID alone): ``` {.wiki} luks- UUID= none allow-discards