#!/bin/sh

if [ $fstype = "ext3" ]; then
    fstype=ext2
    options=-j
fi

mkfs.$fstype $options /dev/ubd/1
