NVME-LOG-BOOT-PAR(1)
π nvme-log-boot-part(1) β the NVMe Manual, but make it cute π
okay so bestie, this is a page from the NVMe Manual, and it's all about nvme-log-boot-part β the little command that goes and grabs a Boot Partition log page off your NVMe device and hands you the struct back. it's giving "grab the receipt, bring it here" energy. π§β¨
πΈ SYNOPSIS πΈ
nvme [<global-options>] log boot-part <device> [--lsp=<field> | -s <field>]
[--output-file=<file> | -f <file>]
π DESCRIPTION π
So what it does: it retrieves a Boot Partition log page from an NVMe device, and then it provides you the returned structure. simple! iconic! no cap. π
Now, the <device> parameter is mandatory β you literally cannot skip it, bestie β and it can be either:
- the NVMe character device, like
/dev/nvme0, or - a namespace block device, like
/dev/nvme0n1
On success, the returned log structure will be in raw binary format only with the --output-file option, which is mandatory. so yeah, if you were hoping for pretty-printed vibes, this is not that. it's raw bytes or nothing, fr fr. π
heads up: --output-file isn't optional here. it's mandatory. mandatory mandatory. main character mandatory. π«Ά
β¨ OPTIONS β¨
-s <field>,--lsp=<field>β the log specified field of LID. that's the field you're picking, yep, that one. π¦-f <file>,--output-file=<file>β the file name that the raw binary data gets saved to. this is where your bytes go live. πΎ
π GLOBAL OPTIONS π
These ones are defined up at the top-level nvme command, and they're available to this subcommand too. so you get to use them here, lucky you! π
--dry-runβ prints the command that would be executed, but does not actually execute it. it's the "manifesting it" option. π--no-ioctl-probingβ disables probing for 64-bit IOCTL support. bye bye probing. π--no-retriesβ disables retry logic on transient errors. one shot, one opportunity. π-o <fmt>,--output-format=<fmt>β sets the reporting format tonormal,tabular,'json, orbinary. only one output format may be used at a time, so don't get greedy. β¨--output-format-version=<version>β selects the output format version. version1uses the original field naming, while version2(the default) provides more consistent and script-friendly field names. any other versions? rejected. not invited to the party. π«--quietβ suppresses informational messages. errors are still reported, and--quietcancels any--verbosefor the library log level. it's the "shhh, i'm thriving" flag. π€«--set-options=<key=value>[,<key=value>...]β sets libnvme library options for this invocation. the supported keys areforce-4k,mi-probe-enabled,test-base-dirandtest-sysfs-dir. π--timeout=<ms>β sets the timeout for the command in milliseconds.infiniteor-1waits without a time limit (0xffffffff). patience is a virtue, lowkey. β³-v,--verboseβ increases the level of detail in the output. you may specify it multiple times to further increase verbosity. more-v= more lore. π₯
oh and also, these options can be set as machine-wide defaults in nvme-cli.conf(5). but a command-line flag always overrides the file. always. periodt. π
π EXAMPLES π
- Retrieve Boot Partition data to
boot_part_log.bin:
# nvme log boot-part /dev/nvme0 --output-file=boot_part_log.bin
look at that. one command. flawless execution. ate and left no crumbs. β
π NVME π
part of the nvme-user suite β you're in good company, bestie. πΈ
okay that's the whole page!! π it's from the NVMe Manual, it's all part of the nvme-user suite, and it's dated 10/30/2026 β so go forth, grab those boot partition logs, and slay. mwah. ππ¦β¨
π¦ where this page comes from
- arch rolling: nvme-cli 3.2-1 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms