#!/usr/bin/bash

if [ "$#" -ne 1 ] ; then
    echo "Usage: $0 /dev/sdb"
	echo "run:"
	echo 'hdparm -r0 $1'
    exit 1
fi

hdparm -r0 $1

exit 0

