nvme_init_set_features(9)
β¨ nvme_init_set_features β¨
Okay bestie, so this is a page straight out of the libnvme API manual, and it's literally about one tiny little function that sets up your passthru command for Set Features. That's the whole vibe. No cap, it's short and it slays π
πΈ NAME πΈ
nvme_init_set_features β initializes the passthru command for Set Features, periodt π
π¦ SYNOPSIS π¦
void nvme_init_set_features (struct libnvme_passthru_cmd *cmd , __u8 fid
, bool sv );
So yeah, it returns void (nothing back, she's not giving you a return value, she's just doing the thing π) and it takes three args. Iconic of her honestly.
π§ ARGUMENTS π§
cmdβ the passthru command you're gonna use, like this is the struct you're handing over so she can set it up for you π«Άfidβ the Feature identifier, it's a__u8, so keep it cute and in range β¨svβ Save value across power states, it's abool, so yes or no bestie, pick one π
Heads up: thecmdone is astruct libnvme_passthru_cmd *pointer andfidis strictly__u8andsvis strictlyboolβ don't go freestyling with other types, the compiler will absolutely clock you π
And that's the whole page, fr fr β not a single extra option or environment variable in sight, she's a minimalist queen π anyway, this gem comes to you courtesy of libnvme, dated October 2026, and yeah that's the sign-off, 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