megaraid_mbox_ld_show(9)
π NAME π
okay so bestie, this is the megaraid_mbox_ld_show(9) page from the Kernel API Manual β and it's literally about displaying the logical drive number for this device. π
β¨ SYNOPSIS β¨
here's the signature, copy it exactly, no cap:
ssize_t megaraid_mbox_ld_show (struct device *dev , struct device_attribute *attr , char *buf );
π¦ ARGUMENTS π¦
devβ device object representation for the scsi device. yes bestie, the device itself πattrβ device attribute to show. that's the attribute vibe check π«Άbufβ buffer to send data to. it's giving output destination β¨
πΈ DESCRIPTION πΈ
so the whole point: this displays the logical drive number for the device in question, but only if it's a valid logical drive. for physical devices, "-1" is returned π β that's the signal, okay?
the logical drive number is displayed in the following format:
<SCSI ID> <LD NUM> <LD STICKY ID> <APP ADAPTER HANDLE>
<int> <int> <int> <int>
that's the layout, periodt β¨
π SEE ALSO π
kernel file: ./drivers/scsi/megaraid/megaraid_mbox.c β and here's the whole friend group, no one left behind:
megaraid_init(9)megaraid_exit(9)megaraid_probe_one(9)megaraid_detach_one(9)megaraid_mbox_shutdown(9)megaraid_io_attach(9)megaraid_io_detach(9)megaraid_init_mbox(9)megaraid_fini_mbox(9)megaraid_alloc_cmd_packets(9)megaraid_free_cmd_packets(9)megaraid_mbox_setup_dma_pools(9)megaraid_mbox_teardown_dma_pools(9)megaraid_alloc_scb(9)megaraid_dealloc_scb(9)megaraid_mbox_mksgl(9)mbox_post_cmd(9)megaraid_queue_command_lck(9)megaraid_mbox_build_cmd(9)megaraid_mbox_runpendq(9)megaraid_mbox_prepare_pthru(9)megaraid_mbox_prepare_epthru(9)megaraid_ack_sequence(9)megaraid_isr(9)megaraid_mbox_dpc(9)megaraid_abort_handler(9)megaraid_reset_handler(9)mbox_post_sync_cmd(9)mbox_post_sync_cmd_fast(9)megaraid_busywait_mbox(9)megaraid_mbox_product_info(9)megaraid_mbox_extended_cdb(9)megaraid_mbox_support_ha(9)megaraid_mbox_support_random_del(9)megaraid_mbox_get_max_sg(9)megaraid_mbox_enum_raid_scsi(9)megaraid_mbox_flush_cache(9)megaraid_mbox_fire_sync_cmd(9)megaraid_mbox_display_scb(9)megaraid_mbox_setup_device_map(9)megaraid_cmm_register(9)megaraid_cmm_unregister(9)megaraid_mbox_mm_handler(9)megaraid_mbox_mm_command(9)megaraid_mbox_mm_done(9)gather_hbainfo(9)megaraid_sysfs_alloc_resources(9)megaraid_sysfs_free_resources(9)megaraid_sysfs_get_ldmap_done(9)megaraid_sysfs_get_ldmap_timeout(9)megaraid_sysfs_get_ldmap(9)megaraid_mbox_app_hndl_show(9)
and that's the whole page, bestie π«Ά this iconic little number comes from the source ./drivers/scsi/megaraid, dated October 2026 β mwah πβ¨
π¦ 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