I am little bit confused between the two answers below. What is the exact answer of this question?

My query is, "Deleted data remains on a disk until...?"

  1. The data is overwritten;
  2. The recycle bin is emptied.

I have searched it over internet and books, but I have found various answers. Please explain to me. Thank you in advance.


closed as unclear what you're asking by vonbrand, David Richerby, Luke Mathieson, jmite, Tom van der Zanden Feb 7 '16 at 8:54

Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.


It depends on the file system used and preferences provided, but in the most common case - deleted data is marked as deleted (dirty) and is used when some new data is to be written. Priority of usage of dirty block earlier than empty depends on system preferences.

The recycle bin is different case - until emptied there is guarantee to recover files, so it is not deleted per se.
After recycle bin is emptied file is deleted (so flagged as deleted and then based on preferences stays there or is physically deleted).

  • $\begingroup$ So the correct answer is 1-the data is overwritten . Am I right? $\endgroup$ – Shaddy Feb 7 '16 at 1:32
  • $\begingroup$ Yes, 1. But 2 will downgrade to 1. $\endgroup$ – Evil Feb 7 '16 at 1:47

Not the answer you're looking for? Browse other questions tagged or ask your own question.