CharlieC3
12/18/2016 - 10:30 PM

Make new filesystem with an empty block device

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>