![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| Filesystems, Disks and Memory Discuss NAS, SAN, RAID, Robotic Libraries, backup devices, RAM, DRAM, SCSI, IDE, EIDE topics here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| minfree contents of the disk | vr_mari | SUN Solaris | 7 | 05-15-2009 02:01 PM |
| hard disk and san | lo-lp-kl | AIX | 4 | 06-12-2008 01:13 PM |
| Hard Disk | hmaraver | UNIX Desktop for Dummies Questions & Answers | 4 | 07-03-2005 03:50 PM |
| RAM, Hard Disk | ramaraju | UNIX for Dummies Questions & Answers | 2 | 03-01-2005 08:35 PM |
| How to Copy Contents from CD to Hard disk | vr76413 | UNIX for Dummies Questions & Answers | 4 | 07-06-2003 12:20 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
Hi,
I am writing a script to wipe my hard disk, in a relatively secure manner by over-writing the disk with 3 patterns. So, I run the dd/dcfldd command 3 times with a sync call in between each command call in the script. Code:
#!/bin/sh dcfldd pattern=99 conv=notrunc of=/dev/sda sync dcfldd pattern=jj conv=notrunc of=/dev/sda sync dcfldd pattern=hell conv=notrunc of=/dev/sda sync Please help me. I really want to understand the impact. |
|
||||
|
If this is a hard drive and not some solid-state storage device, overwriting the entire disk with plain ordinary zeroes will prevent anyone except NSA men in cleanroom spacesuits from reading the previous data. If your data thieves are that motivated, all bets are off anyway.
I'd make your patterns prime number lengths, perhaps 5, 7, and 11 characters, to give maximum annoyance to the cleanroom spacesuit people since this will make a very long-interval thing for them to have to predict and compensate for. Last edited by Corona688; 06-04-2009 at 04:33 PM.. |
|
|||||
|
As Peter Gutmann put it
Quote:
If you've got to delete HDDs often and/or want to be extra sure, DBAN is very recommendable. |
|
||||
|
Even after random data has been written to the drive it maybe possible to recover data using special tools that government agencies have access to.
If this is a problem for you and you really think that the government is out to get you, then you should simply destroy the drive and buy a new one. Exactly how you destroy it is up to you but I read that the US government has a system for destroying computer equipment by cross cut, crush, grind, burn and then spread on the roads as grit in winter. |
|
||||
|
Thanks everyone for the responses.
Actually my doubt is if I am doing 2 swipes over the disk with a pattern and its compliment, using either dd/dcfldd for the purpose in a script, then the first swipe should have actually ended up physically on the sectors on disk before the second swipe. With the script I have pasted in my first post, is the sync in between 2 swipes sufficient to ensure that? Can anyone help me with some pointers on the impact of OS/disk caches on the way to disk sectors? |
| Sponsored Links | ||
|
|
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|