Difference between revisions of "/swap.img"

From wikieduonline
Jump to navigation Jump to search
Line 9: Line 9:
  
 
  /etc/fstab
 
  /etc/fstab
  /swap.img none swap sw 0 0
+
  /swap.img none swap [[sw]] 0 0
  
  

Revision as of 15:02, 24 August 2023


 swapon -s
 Filename				Type		Size	Used	Priority
 /swap.img                              file    	2023420	104312	-2


/etc/fstab
/swap.img	none	swap	sw	0	0


Failed deactivating swap. /swap.img
swapoff -a (disable all swaps from /proc/swaps)
truncate -s 500MB /swap.img

Related terms

See also

Advertising: