How to add a swapfile with Linux and thoughts on the Die Hard 4.0 movie.

To create a new swapfile on your Linux machine to complement the existing /swap partition; the dd command will come in handy. This command will create the swap file as a loopback filesystem. adeptus-mechanicus ~ # dd if=/dev/zero of=swapfile bs=1024 count=524288adeptus-mechanicus ~ # dd if=/dev/zero of=swapfile bs=1024 count=524288 This command will make the filesystem a … Read more