為什麼 ntfswipe 寫入隨機值來取消刪除資料?

為什麼 ntfswipe 寫入隨機值來取消刪除資料?

正要歸檔一個硬碟,因為它來自商店,然後在上面添加我自己的作業系統,並且考慮到它是打折購買的二手演示機,硬碟可能在幕後不乾淨,所以我選擇先運行ntfswipe (因為0x0000000000000000壓縮得非常好,duh),

root@xubuntu:/home/xubuntu# ntfswipe -a /dev/nvme0n1p3 
ntfswipe is about to wipe:
    unused disk space
    file tails
    unused mft areas
    unused directory index space
    the logfile (journal)
    the pagefile (swap space)
    undelete data

ntfswipe will overwrite these areas with: 0x00 
(however undelete data will be overwritten by random values)


ntfswipe will begin in 5 seconds, press CTRL-C to abort.

wipe_directory 0x00, 65016584 bytes
wipe_tails 0x00, 221482103 bytes
wipe_logfile 0xff, 67108864 bytes
wipe_mft 0x00, 187170816 bytes
wipe_pagefile 0x00, 5368709120 bytes
wipe_unused 0x00, 460829704192 bytes
wipe_undelete
466739191679 bytes were wiped (excluding undelete data)

這裡的問題是,正如標題所述,為什麼它說:

(however undelete data will be overwritten by random values)

?當其他所有內容都寫入 0x00 或 0xFF 時,為什麼取消刪除的資料看起來是隨機的?

相關內容