On Tue, 29 Mar 2022 12:31:57 +0200
Pierre-Louis Bonicoli wrote:
> The --target=drive option of the probe command doesn't handle LUKS2
> devices:
>
> # dd if=/dev/zero of=data count=10 bs=1M
> # losetup --show -f data
> /dev/loop4
> # echo -n pass | cryptsetup luksFormat -v --type luks2 /
The --target=drive option of the probe command doesn't handle LUKS2
devices:
# dd if=/dev/zero of=data count=10 bs=1M
# losetup --show -f data
/dev/loop4
# echo -n pass | cryptsetup luksFormat -v --type luks2 /dev/loop4
Key slot 0 created.
Command successful.
# echo -n pass | cryptse