device-mapper
を使ってマッピングを確立する必要があります。
/dev/sda3
など)、 LUKS ヘッダーが変わらない限り不変となります。 LUKS デバイスの UUID を見つけるには次のコマンドを実行します。
cryptsetup luksUUID <device>
luks-<uuid>
, where <uuid> is replaced with the device's LUKS UUID (eg: luks-50ec957a-5b5a-47ee-85e6-f8085bbc97a8
). This naming convention might seem unwieldy but is it not necessary to type it often.
cryptsetup luksOpen <device> <name>
/dev/mapper/<name>
, which represents the decrypted device. This block device can be read from and written to like any other unencrypted block device.
dmsetup info <name>
dmsetup(8)
man ページをご覧下さい。