nvme_host_set_pdc_enabled(2)
β¨ NAME β¨
nvme_host_set_pdc_enabled β the function that sets the Persistent Discovery Controller flag π
It's living in the libnvme API manual, bestie, so you know it's legit π«Ά
πΈ SYNOPSIS πΈ
void nvme_host_set_pdc_enabled (nvme_host_t h , bool enabled );
π ARGUMENTS π
hβ the Host for which the flag should be set π (the original text calls it a "falg" but we both know what it means, no cap)enabledβ theboolthat gets assigned to the enabled flag β¨
π¦ DESCRIPTION π¦
okay so here's the tea β β if you don't call nvme_host_set_pdc_enabled to set the PDC flag, then nvme_host_is_pdc_enabled is gonna hand back the default value that was passed into the function. It is not going to return the undefined flag value. periodt π
So like: no set, no mystery β you just get your default back. main character behavior honestly π
ngl bestie, that's literally the whole page β go forth and set your flags π
with love from the libnvme API manual π version vibes as of July 2026 πΈ and yes, the page you're reading is nvme_host_set_pdc_enabled(2) itself, iconic of her πβ¨
π¦ where this page comes from
- ubuntu stonking: libnvme-dev 1.16.2-1build1 Β· LGPL-2.1-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms