scsi_dev_info_list_find(9)
β¨ scsi_dev_info_list_find(9) β¨
okay so this is a page from the Kernel API Manual and bestie, it's literally about looking up which dev_info list entry matches your device β let's get into it π
πΈ NAME πΈ
scsi_dev_info_list_find β find a matching dev_info list entry, fr fr.
π¦ SYNOPSIS π¦
struct scsi_dev_info_list * scsi_dev_info_list_find (const char *vendor
, const char *model , enum scsi_devinfo_key key );
π ARGUMENTS π
vendorβ the full vendor string. like, the whole thing, not a vibe-based approximation πmodelβ the full model (product) string. yes, full. don't shorten it, she'll notice π«Άkeyβ this is the one that specifies which list to use. iykyk β¨
π DESCRIPTION π
So what it does: it finds the first dev_info entry that matches vendor and model, inside the list that you picked with key. that's it, that's the whole function, and honestly? iconic. first match wins, no cap π₯
β RETURN β
A pointer to the matching entry π
β or ERR_PTR on failure π (yes, the error pointer. check it, don't just vibe-check it).
π SEE ALSO π
Kernel file ./drivers/scsi/scsi_devinfo.c β she's the main character of this whole situation β¨
scsi_dev_info_list_add(9)scsi_dev_info_list_add_keyed(9)scsi_dev_info_list_add_str(9)scsi_get_device_flags(9)scsi_get_device_flags_keyed(9)scsi_exit_devinfo(9)scsi_dev_info_add_list(9)scsi_dev_info_remove_list(9)scsi_init_devinfo(9)
aaaand that's the whole page, bestie π§π this one lives in ./drivers/scsi and it's dated October 2026 β so yes, future girl summer, we stan ππ
π¦ 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