|
-
Nov 9th, 2005, 06:34 PM
#1
Thread Starter
Hyperactive Member
About Deletion...
Okay this may seem like a retarded question but it's been bothering me for the longest time.
When you delete something, where does it go? And don't be a smart *** and say Recycle Bin because that's not what I'm talking about. Like when you format your hard disk, it deletes all the data on it. Well where does it go? It has to go somewhere because it can't just be destoyed.
-
Nov 9th, 2005, 06:45 PM
#2
Re: About Deletion...
When you delete a file all that happens is that the reference to it the in the file system tables is set to free space, and is left to be over written (when you save a new file). A quick format just sets everything in the file system tables to free space. A full format will for all intents and purposes over writes the entire disk.
Does that answer your question or is there something specific your thinking of?
TPM
Add yourself to the VBForums Frappr Map!!
-
Nov 9th, 2005, 11:36 PM
#3
Re: About Deletion...
Actually its the File Alocation Table or FAT that is like an index of where all the files are stored on the hd. When you delete a file it does like tpm posted and removes the index link to the sector of where the file is located. Quick format resets the FAT so all links are broken and index entries are deleted.
VB/Office Guru™ (AKA: Gangsta Yoda™ ®)
I dont answer coding questions via PM. Please post a thread in the appropriate forum. 
Microsoft MVP 2006-2011
Office Development FAQ (C#, VB.NET, VB 6, VBA)
Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it! 
• Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6 
-
Nov 10th, 2005, 02:13 AM
#4
Thread Starter
Hyperactive Member
Re: About Deletion...
So basically the file is never actually removed from memory, it's just flagged and then overwritten?
-
Nov 10th, 2005, 02:25 AM
#5
Re: About Deletion...
Yes, the us govt standard for security is to overwrite the sector with dummy data a minimum of 7 overwrites.
VB/Office Guru™ (AKA: Gangsta Yoda™ ®)
I dont answer coding questions via PM. Please post a thread in the appropriate forum. 
Microsoft MVP 2006-2011
Office Development FAQ (C#, VB.NET, VB 6, VBA)
Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it! 
• Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6 
-
Nov 10th, 2005, 07:58 AM
#6
Re: About Deletion...
 Originally Posted by RobDog888
Yes, the us govt standard for security is to overwrite the sector with dummy data a minimum of 7 overwrites.
For which programs are freely available.
Hard Disk Scrubber is a program that overwrites all free space on a hard disk so that it may not be un-deleted. This will also securely delete files on your system so that they may not be recovered.This program is Freeware.
http://summitcn.com/downloads/hdscrub21.zip
I've tried this one personally, takes a few hours i'm afraid, but it does work.
-
Nov 10th, 2005, 10:03 AM
#7
Re: About Deletion...
Such programs that you can make yourself rather easily... 
You'd think overwriting it once would be enough. After all it's just ones and zeros. The reason for multiple overwriting is due to the way hard drive platters work - I dont know the technical details but with only one or two overwrites the data can still be read, albeit only by an advanced data recovery machine. It takes work, but it can be done.
-
Nov 10th, 2005, 10:51 AM
#8
Re: About Deletion...
 Originally Posted by RobDog888
Actually its the File Alocation Table or FAT that is like an index of where all the files are stored on the hd. When you delete a file it does like tpm posted and removes the index link to the sector of where the file is located. Quick format resets the FAT so all links are broken and index entries are deleted.
I deliberatly didn't use the word FAT, as technically only FAT16 and FAT32 formats use FAT. NTFS for example uses MFT or Meta File tables.
Last edited by -TPM-; Nov 10th, 2005 at 12:57 PM.
TPM
Add yourself to the VBForums Frappr Map!!
-
Nov 10th, 2005, 02:30 PM
#9
Thread Starter
Hyperactive Member
Re: About Deletion...
Wow thanks everyone. That really cleared up my mind. I just could never figure out what happened to the data.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|