zip disk repair script (was Error messages using iomega zip)
Someone wanted the script to repair a scsi zip disk. I sent it but
noticed it didn't go to the list. ($%&* exchange). Anyway, here it
is for anyone else that might want it. It's crude but it works.
jim
=======================repairzip============================================
==
#!/bin/sh
#
# script to fix up a zip with bad blocks
#
umount /zip
scsiformat -b0 -fdos -F"Ene Mene Meck, und Du bist weg!" /dev/sda &
sleep 5
scsiformat -T /dev/sda
sleep 5
sync; sync; sync
sfdisk -f -D /dev/sda << EOF
0,0,0
0,0,0
0,0,0
0,96,6,*
EOF
badblocks -v -s -w /dev/sda4 98288
mkdosfs /dev/sda4
Reply to: