Linux下使用bcwipe擦除磁盤空間
2 Replies
如果要徹底刪除硬盤上的文件,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