NVME_MI_ADMIN_GET_LOG_SANITIZE(2)
π nvme_mi_admin_get_log_sanitize β Retrieve Sanitize Status π
okay bestie, welcome to the libnvme API manual β¨ this one's literally nvme_mi_admin_get_log_sanitize(2) and it's about finding out how your sanitize sitch is going. no cap.
πΈ NAME πΈ
nvme_mi_admin_get_log_sanitize β Retrieve Sanitize Status π§Ό
β¨ SYNOPSIS β¨
int nvme_mi_admin_get_log_sanitize (nvme_mi_ctrl_t ctrl , bool rae ,
struct nvme_sanitize_log_page *log );
like. that's the whole vibe. three args, one int back. iconic. π
π ARGUMENTS π
ctrlβ the Controller to query, aka the one you're asking "hey girl, how's the sanitize going?" πraeβ Retain asynchronous events. yes queen, keep those events, don't let them ghost you π«Άlogβ User address to store the sanitize log. so like, you gotta hand it somewhere to put the tea β
π¦ DESCRIPTION π¦
The Sanitize Status log page reports sanitize operation time estimates and information about the most recent sanitize operation. that's the whole plot. it's giving receipts on your last sanitize and how long the current one thinks it's gonna take. πβ¨
π RETURN π
The nvme command status if a response was received (see enum nvme_status_field) β or -1 with errno set otherwise. so like, if it answers you get the status, and if it doesn't, it's -1 and errno is doing the talking. no in-between bestie π«
lowkey important:-1always comes witherrnoset. check it. it's not optional, it's a whole lifestyle π
π SEE ALSO π
nothing else listed here, so that's the whole friend group. just this one. main character energy only β¨
okay that's the page!! this was from the libnvme API manual, the page is nvme_mi_admin_get_log_sanitize(2), and the date on it is July 2026. ty for reading bestie, go sanitize something responsibly πππ¦ (also literally check errno, i'm begging) πΈ
π¦ 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