#!/bin/bash
#
# Use the EVMS CLI to remove the filesystem from a volume.

volume=$1

if [ -z $volume ]; then
	echo "USAGE: `basename $0` volume"
	exit 1
fi

evms -s << EOF > /dev/null
unformat:$volume
EOF

