HDD GURU FORUMS
http://forum.hddguru.com/

software disk wiper ? with advanced options ?
http://forum.hddguru.com/viewtopic.php?f=7&t=26167
Page 1 of 1

Author:  raven4d [ June 7th, 2013, 9:27 ]
Post subject:  software disk wiper ? with advanced options ?

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

Author:  lcoughey [ June 7th, 2013, 12:21 ]
Post subject:  Re: software disk wiper ? with advanced options ?

Write a shell script using dd?

Author:  Vulcan [ June 7th, 2013, 12:28 ]
Post subject:  Re: software disk wiper ? with advanced options ?

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

Author:  raven4d [ June 7th, 2013, 16:15 ]
Post subject:  Re: software disk wiper ? with advanced options ?

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

Author:  raven4d [ June 8th, 2013, 4:48 ]
Post subject:  Re: software disk wiper ? with advanced options ?

#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 ;

Page 1 of 1 All times are UTC - 5 hours [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/