NVME_GET_LOG_CHANGED_NS_LIST(2)
π nvme_get_log_changed_ns_list(2) π
okay bestie, welcome to the libnvme API manual β yes we're reading man pages for fun now, this is who we are, and honestly? it's giving main character energy. sit down, grab a boba, we're doing namespace drama today π«Ά
β¨ NAME β¨
nvme_get_log_changed_ns_list β Retrieve namespace changed list
likeβ¦ it goes and gets the list of namespaces that changed. that's it. that's the girl. π
β¨ SYNOPSIS β¨
int nvme_get_log_changed_ns_list (int fd , bool rae , struct
nvme_ns_list *ns_log );
no cap, that's the whole signature. three lil arguments, one int coming back at ya. π
πΈ ARGUMENTS πΈ
fdβ File descriptor of nvme device. it's literally the lil hand you're holding to talk to your nvme device, iconic. π₯raeβ Retain asynchronous events. it's abool, it's either yes bestie or no bestie. πns_logβ User address to store the log page. this is where the log page goes to live, you're handing it a home. π
π¦ DESCRIPTION π¦
so the tea is: this log page describes namespaces attached to this controller that have changed since the last time the namespace was identified, been added, or deleted. π
translation? the controller is basically keeping receipts π on every namespace that got identified, got added, or got deleted since you last checked in on it. if something moved, this page knows. it's the group chat that never misses. π
β RETURN β
The nvme command status if a response was received (see enum nvme_status_field) or -1 with errno set otherwise.
so either you get the status back like a good lil function, or you get -1 and errno gets set β which is the code way of saying "it's not me, it's the error" π go check enum nvme_status_field for the deets, iykyk.
β οΈ heads up bestie:-1means checkerrno, don't just sit there confused. we've all been there but we don't have to stay there. π
π the sign-off π
this lil masterpiece is from the libnvme API manual (volume 2, section 2, as the (2) has been trying to tell you this whole time π), dated July 2026, and the page name is nvme_get_log_changed_ns_list, forever and always. now go log some namespaces, you absolute legend. slay, periodt, bye bestie πβ¨π¦π
π¦ 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