3
February
2022
15:46

Creating a swap file (SWAP) in Linux as a file in the root (/) of the disk

3 February 2022 15:46

In Windows, you can change the size of the paging file. which cannot be said about Linux - during the initial partitioning of the disk, a SWAP partition of a fixed size is created. This is not at all convenient, because... You cannot change the size of the paging file. The solution is to implement the swap file as a "swapfile" file in the root of the disk.

More info