NVME_INIT_MANAGE_EXPORT_NVMS_SEND_CHANGE_ACCESS_MODE-LIBNVME3(2)

πŸ“¦ version 3.2, in arch rolling

πŸ’… 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, esubid identifies the target Exported NVM Subsystem; otherwise the target is identified by the SUBNQN in data. it's giving "pick a lane" energy ⭐
  • esubid β€” Exported NVM Subsystem Identifier (ESUBID), and it's only used if esubidv is set. no esubidv, no esubid, that's the rule bestie πŸ’€
  • data β€” Exported NVM Subsystem NQN data buffer, see struct nvme_exported_nvm_subsys_nqn_data. Ignored if esubidv is 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