scsi_dev_info_add_list(9)
π NAME π
okay bestie, welcome to the Kernel API Manual page for scsi_dev_info_add_list(9) β¨ β and its whole vibe is literally: add a new devinfo list. Thatβs the name, thatβs the game, no cap π
πΈ SYNOPSIS πΈ
hereβs the exact signature, bestie β copy it exactly:
int scsi_dev_info_add_list (enum scsi_devinfo_key key , const char *name
);
π¦ ARGUMENTS π¦
keyβ key of the list to add π like, which list are we adding? this one.nameβ Name of the list to add (for/proc/scsi/device_info) π thatβs the name, and itβs for that proc path, iykyk.
β¨ DESCRIPTION β¨
It adds the requested list. Returns 0 on success, -EEXIST if the key is already registered to a list, or other error on failure. Thatβs literally the whole lore, bestie β short and iconic π
π SEE ALSO π
go peek at these if you wanna keep reading, periodt:
- Kernel file
./drivers/scsi/scsi_devinfo.cπ thatβs where this lives. scsi_dev_info_list_add(9)scsi_dev_info_list_add_keyed(9)scsi_dev_info_list_find(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_remove_list(9)scsi_init_devinfo(9)
okay thatβs the page, byeee π«Ά β source/version: ./drivers/scsi, date: October 2026, and itβs all about scsi_dev_info_add_list(9) π
π¦ 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