MultiDrive – free backup, clone & wipe disk utility from Atola Technology

All times are UTC - 5 hours [ DST ]




Post new topic Reply to topic  [ 5 posts ] 
Author Message
 Post subject: software disk wiper ? with advanced options ?
PostPosted: June 7th, 2013, 9:27 
Offline

Joined: August 16th, 2012, 4:57
Posts: 324
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


Top
 Profile  
 
 Post subject: Re: software disk wiper ? with advanced options ?
PostPosted: June 7th, 2013, 12:21 
Offline
User avatar

Joined: February 9th, 2009, 16:13
Posts: 2573
Location: Ontario, Canada
Write a shell script using dd?

_________________
Luke
Recovery Force Data Recovery


Top
 Profile  
 
 Post subject: Re: software disk wiper ? with advanced options ?
PostPosted: June 7th, 2013, 12:28 
Offline

Joined: May 6th, 2008, 22:53
Posts: 2138
Location: England
Agreed - appropriate use of the dd "seek" parameter would seem to fit the OP's stated requirement.


Top
 Profile  
 
 Post subject: Re: software disk wiper ? with advanced options ?
PostPosted: June 7th, 2013, 16:15 
Offline

Joined: August 16th, 2012, 4:57
Posts: 324
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


Top
 Profile  
 
 Post subject: Re: software disk wiper ? with advanced options ?
PostPosted: June 8th, 2013, 4:48 
Offline

Joined: August 16th, 2012, 4:57
Posts: 324
#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 ;


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 

All times are UTC - 5 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 11 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group