overwrite a file

Storage system on Windows.

overwrite a file

Postby Farmer » Wed Nov 09, 2005 1:16 am

Dear All

If I copy a file from 1st partition to 2nd partition to overwrite a file
that has the same content and size.
Will it write into the same block in the raw disk ?

Thanks.
Farmer
 

Re: overwrite a file

Postby Eric Bursley [MVP] » Thu Nov 10, 2005 1:17 am

In theory, yes, but if you are looking at removing the actual data from the
disk, there are utilitys that can remove all data from data sectors that are
not marked as reserved by a file.

i.e., you should be able to delete the file, then run the file wipe utility
to clear the free space of the disk. I know that Norton produces a utility
that will do that. There is also a GPL application called shred that will
destroy any data in a file with an 8 times or more random write into the
file name.


Eric Bursley
eric at bursley dot net
Microsoft MVP
RHCE, MCSE, BCFP, EEIE-CS, ESCE-CS
GPG Signature: Key fingerprint = CEAE CF3A 3876 7ECE 9DA7 946F DA9F DDCA
C392 6DCB



"Farmer" <farmer_tsou@hotmail.com> wrote in message
news:OLlP6LL5FHA.3788@TK2MSFTNGP10.phx.gbl...
Dear All

If I copy a file from 1st partition to 2nd partition to overwrite a file
that has the same content and size.
Will it write into the same block in the raw disk ?

Thanks.


Eric Bursley [MVP]
 

Re: overwrite a file

Postby Farmer » Fri Nov 11, 2005 9:16 am

Eric , Thanks a lot.

If I overwrite a file is bigger than the original, will it use the same
block first and store
extra data in another block area?

And the same scenario, what's the situation if smaller than the original ?


Farmer







"Eric Bursley [MVP]" <ebursley at swbell dot net> ¼¶¼g©ó¶l¥ó·s»D:u2uxB9Y5FHA.2524@TK2MSFTNGP10.phx.gbl...
In theory, yes, but if you are looking at removing the actual data from
the disk, there are utilitys that can remove all data from data sectors
that are not marked as reserved by a file.

i.e., you should be able to delete the file, then run the file wipe
utility to clear the free space of the disk. I know that Norton produces
a utility that will do that. There is also a GPL application called shred
that will destroy any data in a file with an 8 times or more random write
into the file name.


Eric Bursley
eric at bursley dot net
Microsoft MVP
RHCE, MCSE, BCFP, EEIE-CS, ESCE-CS
GPG Signature: Key fingerprint = CEAE CF3A 3876 7ECE 9DA7 946F DA9F DDCA
C392 6DCB



"Farmer" <farmer_tsou@hotmail.com> wrote in message
news:OLlP6LL5FHA.3788@TK2MSFTNGP10.phx.gbl...
Dear All

If I copy a file from 1st partition to 2nd partition to overwrite a file
that has the same content and size.
Will it write into the same block in the raw disk ?

Thanks.




Farmer
 


Return to Storage System

Who is online

Users browsing this forum: No registered users and 0 guests