Kas atsitinka prie duomenų, kai ji ištrinama iš jūsų šiukšliadėžės?

Turinys:

Kas atsitinka prie duomenų, kai ji ištrinama iš jūsų šiukšliadėžės?
Kas atsitinka prie duomenų, kai ji ištrinama iš jūsų šiukšliadėžės?

Video: Kas atsitinka prie duomenų, kai ji ištrinama iš jūsų šiukšliadėžės?

Video: Kas atsitinka prie duomenų, kai ji ištrinama iš jūsų šiukšliadėžės?
Video: Все новые ошибки ChatGPT c которыми ты можешь столкнуться - YouTube 2024, Kovas
Anonim
Daugeliu atvejų mes retai atsisakome minties dėl ištrintų failų, nežinodami, kad jie dabar yra mūsų, bet kas faktiškai atsitinka su tais failais, kai juos ištriname? Šiandienos "SuperUser Q &A" žinute turi atsakymus į įdomius skaitytojo klausimus apie ištrynimo procesą.
Daugeliu atvejų mes retai atsisakome minties dėl ištrintų failų, nežinodami, kad jie dabar yra mūsų, bet kas faktiškai atsitinka su tais failais, kai juos ištriname? Šiandienos "SuperUser Q &A" žinute turi atsakymus į įdomius skaitytojo klausimus apie ištrynimo procesą.

Šiandieninė klausimų ir atsakymų sesija pateikiama su "SuperUser" - "Stack Exchange", bendruomenės valdoma Q & A grupių asociacija.

Nuotrauka mandagumo Gerard's World (Flickr).

Klausimas

SuperUser skaitytojas Shea A. nori sužinoti, kas atsitinka su ištrintomis failais kompiuteryje:

Correct me if I am wrong here, but when you delete something from your PC, all your computer does is write over some of the binary with 0’s replacing the 1’s (or something to that effect). So when you send something to the Recycle Bin, it writes over part of the file, then when you delete the file from the Recycle Bin, it writes more?

Tiesiog kaip veikia visas failo ištrynimas ir šiukšlinę procesas?

Atsakymas

"SuperUser" autoriai Boann ir Mary Biggs turi mums atsakymą. Pirmiausia Boannas:

Neither operation writes over the file. Moving a file to the Recycle Bin does just that, moves the file. Its contents are left completely intact.

Deleting a file from the Recycle Bin (or deleting it directly using Shift+Delete) removes the file name entry from the folder. The part of the disk previously occupied by the file is not modified or overwritten and still contains the file data, but that data is no longer linked to a file name. That spot on the disk is recorded as “free”, however, so future writes to the disk can reuse that space, and if you keep using the disk, the space will almost certainly be overwritten eventually.

In a case where you need to prevent recovery of deleted data, special tools exist to overwrite the data securely. That is not done by default because it is slow and increases wear on the disk.

Vykdant Mary'io Bigso atsakymą:

A file is in two parts:

  • A directory entry which records the file name and also contains a list of the blocks on disk which contain the data contents of the file. The operating system then “knows” that these blocks are in use.
  • The actual blocks which contain the data contents of the file.

When a file is deleted:

  • The list of blocks in the directory entry are marked as “free” and returned to the operating system. The directory entry is deleted, so the file “disappears” from the file system.
  • The actual blocks are not touched, so the data contents of the file remain untouched until some other new file overwrites them. This is the reason that file recovery software can often rebuild deleted files (but only if it is used soon after deletion).

Ar turite ką nors įtraukti į paaiškinimą? Garsas išjungtas komentaruose. Norite skaityti daugiau atsakymų iš kitų "Tech-savvy Stack Exchange" vartotojų? Patikrinkite visą diskusijų temą čia.

Rekomenduojamas: