mirror of
https://github.com/QubesOS/qubes-doc.git
synced 2024-12-28 08:49:42 -05:00
DiskTRIM changed
Fix instruction on getting UUID
This commit is contained in:
parent
b7d60ac8ed
commit
0dad14a4e4
@ -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 \<UUID\> with the device UUID):
|
||||
2. Add entry to `/etc/crypttab` (replace luks-\<UUID\> with the device name and the \<UUID\> with UUID alone):
|
||||
|
||||
``` {.wiki}
|
||||
luks-<UUID> UUID=<UUID> none allow-discards
|
||||
|
Loading…
Reference in New Issue
Block a user