28th Aug, 2008

Linux 清洗 data

一般清洗 file 可以用 shred:

shred -n [幾多次] filename

不過我睇過唔知邊個 website, 開始喜歡用 badblocks:

badblocks [device] -w -s -p [幾多次]

每次 pass 都會寫0xaa, 0×55, 0xff, 0×00, 亦係 harddisk 最容易引發 analog to digital / digital to analog 既時機, 咁攪法你做5個 pass, d data 真係神仙都救唔返。

相關文章

你的回應






Your response: