Linux下使用bcwipe擦除磁盤空間


Linux下使用bcwipe擦除磁盤空間

如果要徹底刪除硬盤上的文件,Windows下有磁盤粉碎機,bcwipe等。

Linux下,也有bcwipe,而且功能更強大。

擦除磁盤剩余空間:

bcwipe -Fvmd /

上面的F是擦出剩余空間,不刪除已有文件,/是掛載的根目錄。md是擦除方式,可選的有如下:

  -mb       German BCI/VISTR 7-pass wiping
  -md       U.S. DoD 5220-22M 7-pass extended character rotation wiping
  -me       U.S. DoE 3-pass wiping
  -mf<file> read wiping scheme from file. See *notes below
  -mg       (default) 35-pass wiping by Peter Gutmann
  -ms       7-pass wiping by Bruce Schneier
  -mt       1-pass test mode: fill the start of 512-byte block with block number
  -mz       1-pass zero wiping
  -m N      U.S. DoD 5220-22M N-pass extended character rotation wiping
 


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM