picodotdev / alis

Arch Linux Install Script (or alis, also known as the Arch Linux executable installation guide and wiki) installs an unattended, automated and customized Arch Linux system.
https://picodotdev.github.io/alis/
GNU General Public License v3.0
823 stars 319 forks source link

Remove process of creating zero-length swap file #215

Closed tkna91 closed 2 years ago

tkna91 commented 2 years ago

Reflects the following ArchWiki changes:

https://wiki.archlinux.org/index.php?title=Btrfs&type=revision&diff=731997&oldid=731247

I had missed the following part.

There is no need to create zero-length files in order to set the No_COW attribute when you can chattr the whole parent directory

I did test it. It appears to be working correctly.