linux 清除硬碟

wipefs
wipefs刪除磁碟 : wipefs -a -f /dev/sda

wipesfs 備份磁碟: wipefs -a -f -b /dev/sda

恢復 :dd if=wipefs-sda-0x000001fe.bak of=/dev/sda seek=$((0x000001fe)) bs=1 conv=notrunc

dd
dd來清空 : dd if=/dev/zero of=/dev/sda1 bs=1M count=1
dd 清除 MBR:dd if=/dev/zero of=/dev/sda bs=446 count=1

#wipefs命令可以擦除檔案系統,RAID或分割槽表簽名/元資料。

本篇發表於 未分類。將永久鍊結加入書籤。

發表迴響

您的電子郵件位址並不會被公開。 必要欄位標記為 *

*

您可以使用這些 HTML 標籤與屬性: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>