Make new filesystem with an empty block device
#!/bin/bash # -t is filesystem type, ext4 being the type mkfs -t ext4 <block device name, e.g. /dev/xvdf>