Scroll to navigation

libnvme_reread_partitions(2) libnvme API manual libnvme_reread_partitions(2)

NAME

libnvme_reread_partitions - Reread the partition table

SYNOPSIS

int libnvme_reread_partitions (struct libnvme_transport_handle *hdl );

ARGUMENTS

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.

libnvme_reread_partitions October 2026