Show Table of Contents
C.4.3. 將裝置格式化為一個 dm-crypt/LUKS 加密的裝置
警告
下列指令會將裝置上所有的資料刪除掉。
cryptsetup luksFormat <device>
注意
欲取得更多相關資訊,請參閱
cryptsetup(8) man page。
在提供了密碼字串兩次後,裝置便會被格式化。若要進行驗證,請使用下列指令:
cryptsetup isLuks <device> && echo Success
若要查看裝置的加密資訊摘要,請使用下列指令:
cryptsetup luksDump <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.