Swap on file alpt

Da Poetry Hacklab.

To use a simple file as swap do:

#here we are creating a swap file of 512Mb
dd if=/dev/zero of=/swapfile bs=1M count=512
mkswap -c /swapfile
echo "/swapfile swap swap defaults  0   0" >> /etc/fstab
swapon /swapfile

						(AlpT)
Strumenti personali