I know that a lot of deleted files can theoretically be recovered, which suggests that "deleting" doesn't actually remove the information.

So how do the various extN (e.g. ext4) filesystems delete files? Do they just mark the space as "free"?

  • Please substantiated your claim that "a lot of deleted files are recovered". In my experience only an extremely tiny fraction of deleted files has to be recovered ever. If that is different in your organisation, you should think about some basic training of your Unix/Linux users. – Anthon Apr 25 '16 at 5:35

Do they just mark the space as "free"?


"Removing" the file would take extra work and is in most cases unnecessary.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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