Some easy script for checking and repairing badblocks and more with hdparm
#!/bin/bash
echo "*********************************************************"
echo "* Teh badblock checker / HPA extractor script!! v0.2a *"
echo "* _____________________________________________________ *"
echo "*********************************************************"
HDD=$1
# https://wiki.debianforum.de/Hdparm
# GET blocksize:
# touch file ; du -h file
#
# BLOCKSIZE = fsutil