iscsi_boot_create_initiator(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ iscsi_boot_create_initiator ✨

okay so this is from the Kernel API Manual, and the main character is iscsi_boot_create_initiator(9) β€” literally here to create the boot initiator sysfs dir. slay πŸ’…


πŸ’– NAME πŸ’–

iscsi_boot_create_initiator β€” create boot initiator sysfs dir, no cap ✨


πŸ¦‹ SYNOPSIS πŸ¦‹

struct iscsi_boot_kobj * iscsi_boot_create_initiator (struct
       iscsi_boot_kset *boot_kset , int index , void *data , ssize_t (*show)
       (void *data, int type, char *buf) , umode_t (*is_visible) (void *data,
       int type) , void (*release) (void *data) );

πŸŽ€ ARGUMENTS πŸŽ€

  • boot_kset β€” the boot kset, bestie. that's the whole squad container πŸ’–
  • index β€” the initiator id, okayyy πŸ¦‹
  • data β€” driver specific data. it's giving custom vibes ✨
  • show β€” attr show function, the one that shows the goods πŸ‘€
  • is_visible β€” attr visibility function, deciding what's visible and what's not πŸ’…
  • release β€” release function, the cleanup moment 🧚

🌸 NOTE 🌸

heads up, bestie: the boot sysfs lib will free the data passed in for the caller when all refs to the initiator kobject have been released. that's the rule, fr fr 🫢

🌈 SEE ALSO 🌈

Kernel file ./drivers/scsi/iscsi_boot_sysfs.c is right here, and these iconic friends are linked too:


and that's the whole page, bestie πŸ’œ this cutie comes from ./drivers/scsi, dated October 2026, and it's literally iscsi_boot_create_initiator(9) β€” periodt πŸ’…βœ¨

πŸ“¦ where this page comes from