1CRYPTSETUP-LUKSUUID(8)       Maintenance Commands       CRYPTSETUP-LUKSUUID(8)
2
3
4

NAME

6       cryptsetup-luksUUID - print or set the UUID of a LUKS device
7

SYNOPSIS

9       cryptsetup luksUUID [<options>] <device>
10

DESCRIPTION

12       Print the UUID of a LUKS device.
13       Set new UUID if --uuid option is specified.
14
15       <options> can be [--header, --uuid, --type, --disable-locks].
16

OPTIONS

18       --type <device-type>
19           Specifies required device type, for more info read BASIC ACTIONS
20           section in cryptsetup(8).
21
22       --uuid <UUID>
23           Use the provided UUID for the luksFormat command instead of
24           generating a new one. Changes the existing UUID when used with the
25           luksUUID command.
26
27           The UUID must be provided in the standard UUID format, e.g.
28           12345678-1234-1234-1234-123456789abc.
29
30       --header <device or file storing the LUKS header>
31           Use a detached (separated) metadata device or file where the LUKS
32           header is stored. This option allows one to store ciphertext and
33           LUKS header on different devices.
34
35           For commands that change the LUKS header (e.g. luksAddKey), specify
36           the device or file with the LUKS header directly as the LUKS
37           device.
38
39       --disable-locks
40           Disable lock protection for metadata on disk. This option is valid
41           only for LUKS2 and ignored for other formats.
42
43           WARNING: Do not use this option unless you run cryptsetup in a
44           restricted environment where locking is impossible to perform
45           (where /run directory cannot be used).
46
47       --batch-mode, -q
48           Suppresses all confirmation questions. Use with care!
49
50           If the --verify-passphrase option is not specified, this option
51           also switches off the passphrase verification.
52
53       --debug or --debug-json
54           Run in debug mode with full diagnostic logs. Debug output lines are
55           always prefixed by #.
56
57           If --debug-json is used, additional LUKS2 JSON data structures are
58           printed.
59
60       --version, -V
61           Show the program version.
62
63       --usage
64           Show short option help.
65
66       --help, -?
67           Show help text and default parameters.
68

REPORTING BUGS

70       Report bugs at cryptsetup mailing list <cryptsetup@lists.linux.dev> or
71       in Issues project section
72       <https://gitlab.com/cryptsetup/cryptsetup/-/issues/new>.
73
74       Please attach output of the failed command with --debug option added.
75

SEE ALSO

77       Cryptsetup FAQ
78       <https://gitlab.com/cryptsetup/cryptsetup/wikis/FrequentlyAskedQuestions>
79
80       cryptsetup(8), integritysetup(8) and veritysetup(8)
81

CRYPTSETUP

83       Part of cryptsetup project <https://gitlab.com/cryptsetup/cryptsetup/>.
84
85
86
87cryptsetup 2.6.1                  2023-02-10            CRYPTSETUP-LUKSUUID(8)
Impressum