NVME_GET_FEATURES_TEMP_THRESH2(2)
π nvme_get_features_temp_thresh2 π
okay bestie, welcome to the libnvme API manual β this one's nvme_get_features_temp_thresh2, and yes, it's a mouthful, we're saying it with our whole chest. it lives in section 9, and it's literally just the "get temperature threshold feature" girlie. that's the whole vibe. π‘οΈβ¨
πΈ NAME πΈ
nvme_get_features_temp_thresh2 β Get temperature threshold feature
π SYNOPSIS π
int nvme_get_features_temp_thresh2 (int fd , enum nvme_get_features_sel
sel , __u8 tmpsel , enum nvme_feat_tmpthresh_thsel thsel , __u32 *result
);
no cap, that's the whole signature. five arguments. she's a lot but she's worth it. π
π¦ ARGUMENTS π¦
fdβ File descriptor of nvme device. yeah bestie, you gotta tell her which device we're talking to. standard.selβ Select which type of attribute to return, seeenum nvme_get_features_sel. like, which flavor of answer do you want back? iykyk.tmpselβ Threshold Temperature Select. pick your temperature threshold, queen.thselβ Threshold Type Select. and this one picks the type of threshold. two selects, because why have one when you can have two, right? πresultβ The command completion result from CQE dword0. this is where the answer lands. it's giving "here's your tea, bestie." π
β RETURN β
so here's what you get back:
- The nvme command status if a response was received β go peek at
enum nvme_status_fieldfor the deets π - or
-1witherrnoset, in literally every other case. π
fr fr,-1means checkerrnoβ she's not gonna tell you what went wrong any other way.
π SEE ALSO π
enum nvme_get_features_sel, enum nvme_feat_tmpthresh_thsel, enum nvme_status_field
mwah π that's the whole page, bestie β go get those temperature thresholds, you absolute icon. this little love letter comes from the libnvme API manual and it's dated August 2026 π«ΆπΈ (and yes, the footer on the original is just nvme_get_fea...temp_thresh2(9) because apparently even the manpage gods couldn't fit the whole name in. iconic behavior honestly. π)
π¦ where this page comes from
- fedora 44: libnvme-doc 1.16.2-1.fc44 Β· 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