Swap: Difference between revisions

Line 139: Line 139:
}];
}];
</syntaxhighlight>
</syntaxhighlight>
<code>systemd-gpt-auto-generator(8)</code> does not automatically enable <code>discard</code>. Also, never enable <code>discard</code> on mdadm RAID setups, as ArchWiki reports that it causes lockup.


== Encrypt swap with random key ==
== Encrypt swap with random key ==