Show Table of Contents
C.4.2. 可选项:使用随机数据填充设备
加密前使用随机数据填充<设备>(例如:
/dev/sda3)可大大提高加密强度。然后这会花很长的时间。
警告
以下的命令将会破坏该设备上的所有已存在数据。
- 最好的方法,就是提供高质量的随机数据但是时间较长(多数系统中一个 G 需要几分钟):
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.