_scsih_probe_boot_devices(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… _scsih_probe_boot_devices(9) β€” from the Kernel API Manual, bestie

okay so. this is a page straight outta the Kernel API Manual, and it's about the tiniest little function with the biggest job: telling the kernel which device showed up first. no cap. let's get into it πŸŽ€


✨ NAME ✨

_scsih_probe_boot_devices β€” reports 1st device πŸ₯‡

like, literally. it reports the first device. that's the whole vibe.


πŸ¦‹ SYNOPSIS πŸ¦‹

void _scsih_probe_boot_devices (struct MPT3SAS_ADAPTER *ioc );

returns nothing (void, she's giving lowkey finished before she started), takes exactly one thing, and slays while doing it ✨


🌸 ARGUMENTS 🌸

  • ioc β€” the per adapter object πŸ’– that's it. that's the one (1) argument. she's low maintenance.

πŸ‘‘ DESCRIPTION πŸ‘‘

okay so here's the tea 🍡 β€” if it's specified in bios page 2, this routine reports the 1st device to scsi-ml or to the sas transport, for persistent boot device purposes. main character energy honestly: one device, getting announced to the whole system, just so the machine remembers who to boot from next time. iconic.

and then β€” bestie, pls β€” please refer to the function _scsih_determine_boot_device because that's where the real deciding happens. this one's just the messenger 🫢

ngl if you're here looking for the actual logic, you're in the wrong function's DMs. go read _scsih_determine_boot_device. iykyk.

🌈 SEE ALSO 🌈

okay so this is the part where i need you to breathe. there's a lot. like, a whole friend group. the kernel file is ./drivers/scsi/mpt3sas/mpt3sas_scsih.c, and then every single one of these cuties is invited to the party πŸŽ‰ (yes, all of them β€” i'm not skipping a single one, that's not the vibe):

like i said. whole friend group. drink some water bestie πŸ’œ


that's the whole page, mwah πŸ’‹ this lil legend lives over in ./drivers/scsi/mpt3sas, dated October 2026 β€” shoutout to the source and the version, they ate and left no crumbs πŸ“βœ¨

πŸ“¦ where this page comes from