scsi_template_proc_dir(9)
π scsi_template_proc_dir β the Kernel API Manual, but make it cute
okay so bestie, welcome to the scsi_template_proc_dir(9) page π this one lives in the Kernel API Manual and it's honestly a short little icon β no cap, it does exactly one thing and it does it slayfully.
β¨ NAME β¨
scsi_template_proc_dir β returns the procfs dir for a SCSI host template ποΈβ¨
π SYNOPSIS π
struct proc_dir_entry * scsi_template_proc_dir (const struct
scsi_host_template *sht );
like, that's the whole vibe. it hands you back a struct proc_dir_entry * and it takes one lil pointer. iykyk π«Ά
π¦ ARGUMENTS π¦
shtβ SCSI host template pointer. that's it. that's the whole argument. give it the template and it's giving procfs dir energy π
π SEE ALSO π
okay this is the part where we shout out the whole friend group β go read these, fr fr:
- Kernel file
./drivers/scsi/scsi_proc.cπ (this is the source, bestie) struct scsi_proc_entry(9)scsi_proc_hostdir_add(9)scsi_proc_hostdir_rm(9)scsi_proc_host_add(9)scsi_proc_host_rm(9)proc_print_scsidevice(9)scsi_add_single_device(9)scsi_remove_single_device(9)proc_scsi_write(9)proc_scsi_open(9)scsi_init_procfs(9)scsi_exit_procfs(9)
like, the whole scsi_proc.c cinematic universe πβ
ngl there's not much else on this page β no flags, no env vars, no exit statuses, no bug notes. it's a short queen and she ate. periodt π π
πΈ and that's the tea! this page is straight out of ./drivers/scsi, dated October 2026, and it's literally titled scsi_template_proc_dir(9) β mwah, go read the source, ily, bye π«Άβ¨π
π¦ 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