#!/bin/bash
#ARGS 
# $1 starting device #
# $2 num devices

#if [ $1 == "/dev/sda" -o $1 == "/dev/sdb" ]
if [ $1 == "1" ]
then
	echo ABORTING - restricted drive specified
	exit 1
fi
#note, doesn't handle starting drive above sdz
if [ $1 -gt "26" ]
then
	echo ABORTING - unknown drive specified
	exit 1
fi

let end=$1+$2
for ((i=$1 ; i< $end; i++))
do
	umount /mnt/mnt$i
done
