zfcp_unit_scsi_scan(9)
π zfcp_unit_scsi_scan β bestie's guide to the kernel API β¨
okay so this is a page from the Kernel API Manual (section 9, the kernel-internals girlies π), and it's all about zfcp_unit_scsi_scan. Let's get into it π«Ά
β¨ NAME β¨
zfcp_unit_scsi_scan β register a LUN with the SCSI midlayer π
πΈ SYNOPSIS πΈ
void zfcp_unit_scsi_scan (struct zfcp_unit *unit );
π¦ ARGUMENTS π¦
unitβ thezfcpLUN/unit you're registering, bestie π
π DESCRIPTION π
So here's the vibe: when the SCSI midlayer is not allowed to automatically scan and attach SCSI devices (rude of it, honestly), zfcp has to register the single devices with the SCSI midlayer itself. That's literally the whole job β manually introducing each device to the midlayer. no cap π
π SEE ALSO π
- Kernel file
./drivers/s390/scsi/zfcp_unit.cπ zfcp_unit_queue_scsi_scan(9)zfcp_unit_find(9)zfcp_unit_release(9)zfcp_unit_add(9)zfcp_unit_sdev(9)zfcp_unit_sdev_status(9)zfcp_unit_remove(9)
like, the whole friend group fr fr π
ngl this one's short and sweet β no flags, no env vars, no exit codes, just a void function doing its one little thing. iconic behavior tbh β
and that's the page! footer deets for the record keepers: this one comes from ./drivers/s390/scsi π, dated October 2026, and it's zfcp_unit_scsi_scan(9) all the way down. mwah, go scan some LUNs bestie ππ₯
π¦ 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