From 829a2379a149980c7736b086a88ee139c2a041a6 Mon Sep 17 00:00:00 2001 From: Joerg Kastning Date: Tue, 10 Nov 2020 12:17:14 +0000 Subject: [PATCH] Update cryptsetup.8 * Improved information about calling luksFormat on devices. --- man/cryptsetup.8 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/man/cryptsetup.8 b/man/cryptsetup.8 index ff680a47..59897430 100644 --- a/man/cryptsetup.8 +++ b/man/cryptsetup.8 @@ -280,7 +280,7 @@ of reading the passphrase from a file you can give '-' as file name, which results in the passphrase being read from stdin and the safety-question being skipped. -In case the device you are going to call luksFormat on already contains a LUKS device that is mapped, you have to close the device first in order to be able to format it. +You cannot call luksFormat on a device or filesystem that is mapped or in use, e.g. mounted filesysem, used in LVM, active RAID member etc. The device or filesystem has to be un-mounted in order to call luksFormat. To use LUKS2, specify \fI\-\-type luks2\fR.