CRYPTSETUP-FVAULT2DUMP(8)
π CRYPTSETUP-FVAULT2DUMP π
okay bestie, you found the cryptsetup-fvault2Dump page β it's one of the cryptsetup family of maintenance commands, and it is literally the one that shows you what's inside a FVAULT2 (FileVault2 compatible) device. let's get into it π
β¨ NAME β¨
cryptsetup-fvault2Dump β dump the header information of a FVAULT2 (FileVault2 compatible) device π¦
β¨ SYNOPSIS β¨
cryptsetup fvault2Dump [<options>] <device>
β¨ DESCRIPTION β¨
Dump the header information of a FVAULT2 (FileVault2 compatible) device. that's the whole vibe π
If you use the --dump-volume-key option, then instead of header info you get the FVAULT2 device volume key dumped out. and yes, to dump the volume key you have to provide a password or a keyfile. no sneaking in without creds, periodt.
π¨ okay so real talk bestie, this next part is important. beware that the volume key can be used to decrypt the data stored in the container without a passphrase. that means if the volume key gets compromised, the whole device has to be erased to prevent further access. so use this option carefully. i'm not being dramatic, that's just the truth π
<options> can be [--dump-volume-key, --volume-key-file, --key-file, --keyfile-offset, --keyfile-size, --timeout].
β¨ OPTIONS β¨
--batch-mode,-qβ suppresses all confirmation questions. use with care! π«Ά also, if the--verify-passphraseoption is not specified, this option also switches off the passphrase verification.--debugor--debug-jsonβ run in debug mode with full diagnostic logs. debug output lines are always prefixed by#. and if you use--debug-json, extra LUKS2 JSON data structures get printed too. she's thorough π--dump-volume-key,--dump-master-key(OBSOLETE alias) β print the volume key in the displayed information. use with care, because the volume key can be used to bypass the passphrases. see also the--volume-key-fileoption. β οΈ--help,-?β show help text and default parameters. iconic, always available π--key-file,-dfile β read the passphrase from the file. if the name you give is-, then the passphrase gets read fromstdin. in that case, reading will not stop at newline characters. see the section NOTES ON PASSPHRASE PROCESSING incryptsetup(8)for more info πΈ--keyfile-offsetvalue β skip value bytes at the beginning of the key file.--keyfile-size,-lvalue β read a maximum of value bytes from the key file. the default is to read the whole file up to the compiled-in maximum, which you can query with--help. supplying more data than the compiled-in maximum aborts the operation. this option is useful to cut trailing newlines, for example. and if--keyfile-offsetis also given, the size count starts after the offset. β¨--timeout,-tseconds β the number of seconds to wait before a timeout on passphrase input via terminal. it's relevant every time a passphrase is asked. it has no effect if used in conjunction with--key-file. this option is useful when the system should not stall if the user doesn't input a passphrase, like during boot. the default is a value of0seconds, which means wait forever π--usageβ show short option help.--version,-Vβ show the program version.--volume-key-filefile,--master-key-filefile (OBSOLETE alias) β use a volume key stored in a file. the volume key gets stored in a file instead of being printed out to standard output. very demure, very mindful π
β¨ REPORTING BUGS β¨
found a bug? report it at the cryptsetup mailing list <cryptsetup@lists.linux.dev> or in the Issues project section <https://gitlab.com/cryptsetup/cryptsetup/-/issues/new>. π
please attach the output of the failed command with the --debug option added. that part is not optional bestie, it helps so much π«Ά
β¨ SEE ALSO β¨
- Cryptsetup FAQ
<https://gitlab.com/cryptsetup/cryptsetup/wikis/FrequentlyAskedQuestions> cryptsetup(8),integritysetup(8)andveritysetup(8)
β¨ CRYPTSETUP β¨
Part of cryptsetup project <https://gitlab.com/cryptsetup/cryptsetup/>. π
and that's the whole page, no cap π this was cryptsetup version 2.8.8, dated 2026-09-07, and it's page CRYPTSETUP-FVAULT2DUMP(8) of the Maintenance Commands. go dump some headers responsibly, bestie πβ¨
π¦ where this page comes from
- arch rolling: cryptsetup 2.8.8-1 Β· GPL-2.0-or-later
- fedora 44: cryptsetup 2.8.8-1.fc44 Β· GPL-2.0-or-later WITH cryptsetup-OpenSSL-exception AND LGPL-2.1-or-later WITH cryptsetup-OpenSSL-exception
- nixpkgs unstable: cryptsetup 2.8.8
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms