overwrite a file
CASTalk.com Forum Index CASTalk.com
Discussion of DSP, FPGA, storage and embedded system.
 
 FAQFAQ   MemberlistMemberlist     RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 
Google
 
Web castalk.com
overwrite a file

 
Post new topic   Reply to topic    CASTalk.com Forum Index -> Storage System
Author Message
Farmer
Guest





Posted: Wed Nov 09, 2005 1:16 am    Post subject: overwrite a file Reply with quote

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.
Back to top
Eric Bursley [MVP]
Guest





Posted: Thu Nov 10, 2005 1:17 am    Post subject: Re: overwrite a file Reply with quote

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...
Quote:
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.


Back to top
Farmer
Guest





Posted: Fri Nov 11, 2005 9:16 am    Post subject: Re: overwrite a file Reply with quote

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...
Quote:
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.




Back to top
 
Post new topic   Reply to topic    CASTalk.com Forum Index -> Storage System All times are GMT
Page 1 of 1

 
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 vote in polls in this forum




VoIP Electronics Powered by phpBB