iscsi_boot_create_initiator(9)
β¨ 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:
iscsi_boot_create_target(9)iscsi_boot_create_ethernet(9)iscsi_boot_create_acpitbl(9)iscsi_boot_create_kset(9)iscsi_boot_create_host_kset(9)iscsi_boot_destroy_kset(9)
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
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms