How to create a loopback filesystem easily in your home folder. Good for storing files or creating a swapfile.

It is very easy to create a loopback filesystem in your home directory. This can be used to store files, or can be enabled as a swap partition. Firstly, run this command to create a blank file-system image. This will be 524 megabytes. jason@Yog-Sothoth:~/Documents$ dd if=/dev/zero of=myimage.img bs=1024 count=524288jason@Yog-Sothoth:~/Documents$ dd if=/dev/zero of=myimage.img bs=1024 count=524288 Now … Read more