Show Table of Contents
C.4.2. 可選用的選項:在裝置上填滿任意的資料
在為「裝置」(例如
/dev/sda3)加密前,先將它填滿任意的資料可大幅強化加密的安全性。缺點就是可能會花上一段很長的時間。
警告
下列指令會將裝置上所有的資料刪除。
- 最佳的方式雖提供了高品質的隨機選取資料,然而卻會花上一段較長的時間(在大部分系統上,每一 GB 就會花上幾分鐘):
dd if=/dev/urandom of=<device>
- 最快的方式,並提供了較低品質的隨機選取資料:
badblocks -c 10240 -s -w -t random -v <device>

Where did the comment section go?
Red Hat's documentation publication system recently went through an upgrade to enable speedier, more mobile-friendly content. We decided to re-evaluate our commenting platform to ensure that it meets your expectations and serves as an optimal feedback mechanism. During this redesign, we invite your input on providing feedback on Red Hat documentation via the discussion platform.