Switch to full style
Tools for hard drive diagnostics, repair, and data recovery
Post a reply

software disk wiper ? with advanced options ?

June 7th, 2013, 9:27

hello , i know this might sound strange , but i need a software that can wipe some sectors every "some sectors"

so if a drive have 1000000000 LBAs
i want to wipe 2 sectors every 10 sectors and so on ...



thank you for your help

Re: software disk wiper ? with advanced options ?

June 7th, 2013, 12:21

Write a shell script using dd?

Re: software disk wiper ? with advanced options ?

June 7th, 2013, 12:28

Agreed - appropriate use of the dd "seek" parameter would seem to fit the OP's stated requirement.

Re: software disk wiper ? with advanced options ?

June 7th, 2013, 16:15

aha , never thought of this ..

i would appreciate if you can provide me with the script to use :roll:

dd if=/dev/zero of=/dev/sda bs=1024 :idea:

the upper command should wipe 2 sectors of the selected devise , but how to make it jump over 10 LBAs and write two zero sectors again ? adding seek=5120 ?!?!

never thought of using the dd for such a task :|

what r the flags that should be added ?

thank you very much

Re: software disk wiper ? with advanced options ?

June 8th, 2013, 4:48

#bin/sh
for ((i=0 ; i<1000000000 ; i=i+10)); do dd if=/dev/zero of=/dev/sda seek=$i bs=512 count=2 ;
done ;
Post a reply