1CRYPTSETUP-ISLUKS(8) Maintenance Commands CRYPTSETUP-ISLUKS(8)
2
3
4
6 cryptsetup-isLuks - check if a device is a LUKS device
7
9 cryptsetup isLuks [<options>] <device>
10
12 Returns true, if <device> is a LUKS device, false otherwise.
13
14 Use option -v to get human-readable feedback. 'Command successful.'
15 means the device is a LUKS device.
16
17 By specifying --type you may query for specific LUKS version.
18
19 <options> can be [--header, --type, --disable-locks].
20
22 --verbose, -v
23 Print more information on command execution.
24
25 --type <device-type>
26 Specifies required device type, for more info read BASIC ACTIONS
27 section in cryptsetup(8).
28
29 --header <device or file storing the LUKS header>
30 Use a detached (separated) metadata device or file where the LUKS
31 header is stored. This option allows one to store ciphertext and
32 LUKS header on different devices.
33
34 For commands that change the LUKS header (e.g. luksAddKey), specify
35 the device or file with the LUKS header directly as the LUKS
36 device.
37
38 --disable-locks
39 Disable lock protection for metadata on disk. This option is valid
40 only for LUKS2 and ignored for other formats.
41
42 WARNING: Do not use this option unless you run cryptsetup in a
43 restricted environment where locking is impossible to perform
44 (where /run directory cannot be used).
45
46 --batch-mode, -q
47 Suppresses all confirmation questions. Use with care!
48
49 If the --verify-passphrase option is not specified, this option
50 also switches off the passphrase verification.
51
52 --debug or --debug-json
53 Run in debug mode with full diagnostic logs. Debug output lines are
54 always prefixed by #.
55
56 If --debug-json is used, additional LUKS2 JSON data structures are
57 printed.
58
59 --version, -V
60 Show the program version.
61
62 --usage
63 Show short option help.
64
65 --help, -?
66 Show help text and default parameters.
67
69 Report bugs at cryptsetup mailing list <cryptsetup@lists.linux.dev> or
70 in Issues project section
71 <https://gitlab.com/cryptsetup/cryptsetup/-/issues/new>.
72
73 Please attach output of the failed command with --debug option added.
74
76 Cryptsetup FAQ
77 <https://gitlab.com/cryptsetup/cryptsetup/wikis/FrequentlyAskedQuestions>
78
79 cryptsetup(8), integritysetup(8) and veritysetup(8)
80
82 Part of cryptsetup project <https://gitlab.com/cryptsetup/cryptsetup/>.
83
84
85
86cryptsetup 2.5.0 2022-07-28 CRYPTSETUP-ISLUKS(8)