Btrfs: Difference between revisions
imported>Onny mNo edit summary |
imported>Privacy1st use single BTRFS command to create swapfile |
||
| Line 68: | Line 68: | ||
</syntaxhighlight> | </syntaxhighlight> | ||
Then, create the swap file | Then, create the swap file and adjust its size as desired: | ||
<syntaxhighlight lang="console"> | <syntaxhighlight lang="console"> | ||
# | # btrfs filesystem mkswapfile --size 8g --uuid clear /swap/swapfile | ||
</syntaxhighlight> | </syntaxhighlight> | ||