---
name: "libnvme_reread_partitions-libnvme3"
section: "2"
platform: "linux"
package: "nvme-cli"
version: "3.2-1"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/libnvme_reread_partitions-libnvme3"
---

# libnvme\_reread\_partitions-libnvme3(2)

Reread the partition table

## NAME

libnvme\_reread\_partitions - Reread the partition table

## SYNOPSIS

**int libnvme\_reread\_partitions** **(struct libnvme\_transport\_handle \*hdl** *);*

## ARGUMENTS

- hdl

  Transport handle

## DESCRIPTION

Ask the kernel to reread the partition table of a namespace, e.g. after the namespace has become readable again. This should only be used for namespace handles, not controllers.

## RETURN

0 if the partition table was reread or a negative error code otherwise.
