Have you ever thought what happened to all your files and data when you delete them from your system? where does all the deleted stuff goes after deletion and is it possible to recover all the things that we delete accidentally?

Where do deleted files go?


So guys in this article, I am going to answer all the other questions and through this article, I am going to explain to you guys what actually happens when we delete any file from our system so let's get started.

Let's first talk about the fresh green or the recycle bin in case of the operating system whenever you delete any file from the system then the operating system will move that file to the fresh fill or recycle bin now, if you had accidentally deleted a particular file then you can recover or simply restore that file back to the original place, files which are there in the recycle bin can also be deleted in two ways the first way is to manually empty the recycle bin to free up the disk space and the second way is when the recycle bin gets full then the system will start removing them on the first in first-out basis which means the file which gets into the recycle bin first after deletion would be the first one which will be deleted  by the recycle bin itself when it is completely filled.

So, now comes an interesting part what happens to the file when it's got deleted from your recycle bin, so what happens is that when you delete content from the recycle bin it doesn't mean that the data is completely deleted, it is still in your system but you can't see it the only thing that gets removed when you empty the trash or recycle bin is the master file table reference which merrily tells the operating system where the file was located, essentially we are only removing the map to the data nodes,  the data itself while deleting the data from recycle bin we are actually giving the operating system a permission to overwrite the particular area of the hard drive where data was actually stored while deleting the recycle bin the system simply changes four bits in the file allocation the table that master space occupied by the file as free for example

Let us assume one is for the occupied space and zero is for the free space and when I will delete the file names for X Files edge than in this file allocation table one will change to zero, which means the space occupied by the file is now free the bits and bytes that make up your deleted file are eventually free, we use to store other files but this don't happen until space is actually needed until your file is overwritten by the new data it is still sitting there on your disk some view the only difference is that the file allocation table is no longer keeping track of it, therefore, it is possible to recover the deleted data with special software as soon as possible because if it got overwritten by new data then your data is closed forever.


-Tech Duo

Post a Comment

Previous Post Next Post