Results 1 to 9 of 9

Thread: About Deletion...

  1. #1

    Thread Starter
    Hyperactive Member GamerMax5's Avatar
    Join Date
    Nov 2004
    Location
    United States
    Posts
    388

    Question 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.
    Only those who try will become.

    Find me on identi.ca

    Twitter @gfmartin05

    Linux Wrap

  2. #2
    Fanatic Member -TPM-'s Avatar
    Join Date
    Jul 2005
    Posts
    850

    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!!

  3. #3
    Ex-Super Mod RobDog888's Avatar
    Join Date
    Apr 2001
    Location
    LA, Calif. Raiders #1 AKA:Gangsta Yoda™
    Posts
    60,709

    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 PostsVS.NET on Vista Multiple .NET Framework Versions Office Primary Interop AssembliesVB/Office Guru™ Word SpellChecker™.NETVB/Office Guru™ Word SpellChecker™ VB6VB.NET Attributes Ex.Outlook Global Address ListAPI 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

  4. #4

    Thread Starter
    Hyperactive Member GamerMax5's Avatar
    Join Date
    Nov 2004
    Location
    United States
    Posts
    388

    Re: About Deletion...

    So basically the file is never actually removed from memory, it's just flagged and then overwritten?
    Only those who try will become.

    Find me on identi.ca

    Twitter @gfmartin05

    Linux Wrap

  5. #5
    Ex-Super Mod RobDog888's Avatar
    Join Date
    Apr 2001
    Location
    LA, Calif. Raiders #1 AKA:Gangsta Yoda™
    Posts
    60,709

    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 PostsVS.NET on Vista Multiple .NET Framework Versions Office Primary Interop AssembliesVB/Office Guru™ Word SpellChecker™.NETVB/Office Guru™ Word SpellChecker™ VB6VB.NET Attributes Ex.Outlook Global Address ListAPI 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

  6. #6
    Frenzied Member thegreatone's Avatar
    Join Date
    Aug 2003
    Location
    Oslo, Norway. Mhz:4800 x12
    Posts
    1,333

    Re: About Deletion...

    Quote 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.
    Zeegnahtuer?

  7. #7
    I'm about to be a PowerPoster!
    Join Date
    Jan 2005
    Location
    Everywhere
    Posts
    13,647

    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.

  8. #8
    Fanatic Member -TPM-'s Avatar
    Join Date
    Jul 2005
    Posts
    850

    Re: About Deletion...

    Quote 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!!

  9. #9

    Thread Starter
    Hyperactive Member GamerMax5's Avatar
    Join Date
    Nov 2004
    Location
    United States
    Posts
    388

    Re: About Deletion...

    Wow thanks everyone. That really cleared up my mind. I just could never figure out what happened to the data.
    Only those who try will become.

    Find me on identi.ca

    Twitter @gfmartin05

    Linux Wrap

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width