comp.lang.ada
 help / color / mirror / Atom feed
From: Kilgallen@SpamCop.net (Larry Kilgallen)
Subject: Re: Wiping a disk clean
Date: 2 Aug 2005 23:30:23 -0500
Date: 2005-08-02T23:30:23-05:00	[thread overview]
Message-ID: <cL$zN7IfPSJX@eisner.encompasserve.org> (raw)
In-Reply-To: PRWHe.7695$0C.7190@newsread3.news.pas.earthlink.net

In article <PRWHe.7695$0C.7190@newsread3.news.pas.earthlink.net>, Jeffrey Carter <spam@spam.com> writes:
> Larry Hazel 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?
> 
> Probably not. The US Govt requires 3 passes with specific patterns, and 
> the most exhaustive study of the issue indicates that different 
> approaches are required for different kinds of drives. For most modern 
> disks, several passes with random data will suffice. "Several" is 
> probably 5 or 6.
> 
> And that doesn't even get into the issues of whether Sequential_IO will 
> write on all the unused portion of the disk, much less the unused parts 
> of partially used sectors, and so on.

Or the formerly used parts of the disk that have been "revectored"
in response to hardware problems.

In summary, there is a large body of knowledge in this area that is
not at all specific to Ada.



  reply	other threads:[~2005-08-03  4:30 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 [this message]
     [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
replies disabled

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