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