Update scandisk-bigdrive-2tb+.sh

This commit is contained in:
kneutron 2021-04-28 12:51:03 -05:00 committed by GitHub
parent 057958a90f
commit 984fcbc76b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -5,6 +5,7 @@
# REQUIRES: hdparm, smartmontools, tee
# NOTE pass only sdX as arg, no /dev needed
# MAKE SURE you use the right /dev/sdX, I take *no responsibility* for data loss!
# Requires key-input / Enter to continue
# Recommended to run this from GNU ' screen ' as root
@ -25,7 +26,7 @@ longform=$(ls -lk /dev/disk/by-id |grep $1 |head -n 1 |awk '{print $9}')
fdisk -l $argg
smartctl -a $argg |head -n 15
echo "!! ARE YOU SURE!! PK - THIS WILL OVERWRITE ALL DATA ON $argg"
echo "!! ARE YOU SURE!! PK - THIS WILL OVERWRITE ALL DATA ON $argg / $longform"
read
#time badblocks -f -c 20480 -n -s -v $argg