Site Tools


linux:general:swap

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Last revisionBoth sides next revision
linux:general:swap [2018/08/22 11:25] – [What is Swap?] lunetikklinux:general:swap [2018/12/20 17:40] – Discussion status changed lunetikk
Line 12: Line 12:
 <code> <code>
 mkswap /swap/swapfile mkswap /swap/swapfile
-chown root:root /tmp/swapfile+chown root:root /swap/swapfile
 chmod 600 /swap/swapfile chmod 600 /swap/swapfile
 </code> </code>
Line 24: Line 24:
 Turn off the swapfile (used swap will be moved to other swap or memory, might take a while) Turn off the swapfile (used swap will be moved to other swap or memory, might take a while)
 <code> <code>
-swapoff /swap/swap+swapoff /swap/swapfile
 </code> </code>
  
 \\ \\
 \\ \\
-~~DISCUSSION~~+~~DISCUSSION:closed~~
linux/general/swap.txt · Last modified: 2019/02/12 14:45 by lunetikk