---
name: "nvme_mi_admin_get_log_boot_partition"
section: "2"
platform: "linux"
package: "libnvme-dev"
version: "1.13-2"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/nvme_mi_admin_get_log_boot_partition"
---

# nvme\_mi\_admin\_get\_log\_boot\_partition(2)

Retrieve Boot Partition

## NAME

nvme\_mi\_admin\_get\_log\_boot\_partition - Retrieve Boot Partition

## SYNOPSIS

**int nvme\_mi\_admin\_get\_log\_boot\_partition** **(nvme\_mi\_ctrl\_t ctrl** *,* **bool rae** *,* **\_\_u8 lsp** *,* **\_\_u32 len** *,* **struct nvme\_boot\_partition \*part** *);*

## ARGUMENTS

- ctrl

  Controller to query

- rae

  Retain asynchronous events

- lsp

  The log specified field of LID

- len

  The allocated size, minimum struct nvme\_boot\_partition

- part

  User address to store the log page

## RETURN

The nvme command status if a response was received (see *enum nvme\_status\_field*) or -1 with errno set otherwise.
