NVME_INIT_MANAGE_EXPORT_NVMS_SEND_CHANGE_ACCESS_MODE-LIBNVME3(2)
π nvme_init_manage_export_nvms_send_change_access_mode β the libnvme API manual, section 9, bestie
okay so this is `nvme_init_manage_export_nvms_send_change_access_mode(9) from the libnvme API manual β yes that's the whole name, she's long, she's iconic, she ate π and yes she is only for message-based transports, no cap.
β¨ NAME β¨
nvme_init_manage_export_nvms_send_change_access_mode β Initialize passthru command for Manage Exported NVM Subsystem Send - Change Access Mode (message-based transports only) π¦
π SYNOPSIS π
void nvme_init_manage_export_nvms_send_change_access_mode (struct libnvme_passthru_cmd *cmd , bool ra , bool esubidv , __u16 esubid , struct nvme_exported_nvm_subsys_nqn_data *data );
likeβ¦ five whole arguments, she's high maintenance and we love her for it π
πΈ ARGUMENTS πΈ
cmdβ the passthru command you're gonna use. this is the vessel, the main character, the thing getting filled in π«Άraβ Restricted Access (RA): if you set it, the Exported NVM Subsystem gets configured to restrict access to Host NQNs in its Allowed Host List; if it's clear, unrestricted access is allowed. so like, bouncer at the club vs. doors wide open, iykyk π₯esubidvβ Exported NVM Subsystem Identifier Valid (ESUBIDV): if set,esubididentifies the target Exported NVM Subsystem; otherwise the target is identified by the SUBNQN indata. it's giving "pick a lane" energy βesubidβ Exported NVM Subsystem Identifier (ESUBID), and it's only used ifesubidvis set. noesubidv, noesubid, that's the rule bestie πdataβ Exported NVM Subsystem NQN data buffer, seestruct nvme_exported_nvm_subsys_nqn_data. Ignored ifesubidvis set π (she said "don't need you anymore" and honestly? valid)
π DESCRIPTION π
So what she actually does: she initializes the passthru command buffer for the Manage Exported NVM Subsystem Send command, with the SEL value
NVME_MANAGE_EXPORT_NVMS_SEND_SEL_CHANGE_ACCESS_MODE
that's it, that's the whole vibe. you hand her the command struct and the args, she does the buffer setup, you go live your life β¨π§
quick reminder bestie: this one is message-based transports only. don't come crying to me if you try it elsewhere π
and that's the page!! this lil masterpiece lives in the libnvme API manual, dated October 2026 β mwah, bye, slay, periodt πππ
π¦ 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