comp.lang.ada
 help / color / mirror / Atom feed
From: bdbryant@mail.utexas.edu (Bobby D. Bryant)
Subject: Re: Wiping a disk clean
Date: Thu, 4 Aug 2005 11:32:04 +0000 (UTC)
Date: 2005-08-04T11:32:04+00:00	[thread overview]
Message-ID: <dcsubj$t$2@geraldo.cc.utexas.edu> (raw)
In-Reply-To: a6THe.574$Uz1.2349@eagle.america.net

On Tue, 02 Aug 2005, Larry Hazel <lhhazel@otelco.net> wrote:

> If I create a binary file, use sequential_io to write records of all 
> ones until Use_Error is raised.  Then, delete the file and repeat with 
> all zeros.
> Will the unused portion of the disk be wiped clean so that no one could 
> recover what was written there before?

Modulo the caveats a couple of others have already mentioned re
partially used allocation units, it would be easier and probably more
effective to repeat

	$ cat /dev/random > temp.dat ; rm temp.dat

a few dozen times.

As I understand it, the need for repetition comes from the fact that
a drive wobbles somewhat during use, so whenever you overwrite a
sector it may leave a "fringe" of the earlier data to one side or the
other of a track.

-- 
Bobby Bryant
Austin, Texas



      parent reply	other threads:[~2005-08-04 11:32 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-08-02 23:11 Wiping a disk clean Larry Hazel
2005-08-03  3:28 ` Jeffrey Carter
2005-08-03  4:30   ` Larry Kilgallen
     [not found] ` <hck0f15qufvpr720etmjiu1on68n3o5968@4ax.com>
2005-08-03  7:09   ` Keith Thompson
2005-08-03 13:02     ` Marc A. Criley
2005-08-04 11:33       ` Bobby D. Bryant
     [not found]     ` <opo1f15gk1adu8eb9o43n3sdpkit7uajji@4ax.com>
2005-08-03 22:45       ` Keith Thompson
     [not found]         ` <v5c3f1h43qrqekr6abs00jn45nn5ncboa0@4ax.com>
2005-08-04 13:01           ` Marc A. Criley
2005-08-03  7:55   ` Jean-Pierre Rosen
2005-08-03 10:07     ` Larry Kilgallen
2005-08-03 22:46     ` Keith Thompson
2005-08-04  6:03 ` Florian Weimer
2005-08-04 11:32 ` Bobby D. Bryant [this message]
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox