Creating Blank Images for Testing Filesystems
If, like me, you want to test a new filesystem or hardware speed without risking damage to one of your partitions, here's a small tip that allows you to create a blank disk image to work with:
or
The second line is more for BSD systems.
Here, I'll have a 128 MB image. Change the last number if you want a different size.
Now, all that's left is to format the partition and start experimenting: