zfcp_scsi_dev_lun(9)
π zfcp_scsi_dev_lun(9) β Kernel API Manual
okay so bestie, welcome to the little page that's literally the glow-up tutorial for turning a SCSI device's LUN into a 64 bit FCP LUN β¨ β it lives in the Kernel API Manual, and it's short, it's sweet, and it absolutely slays at exactly one job π
β¨ NAME β¨
zfcp_scsi_dev_lun β Return SCSI device LUN as 64 bit FCP LUN π¦
like. that's it. that's the whole personality. no cap π
πΈ SYNOPSIS πΈ
u64 zfcp_scsi_dev_lun (struct scsi_device *sdev );
the way that signature is right there giving main character energy π β it takes your sdev and hands you back a u64, periodt.
π ARGUMENTS π
sdevβ SCSI device where to get the LUN from π«Ά β yeah that's the whole argument list. one (1) single device. she's lowkey minimal and we respect her for it π
π₯ SEE ALSO π₯
- Kernel file
./drivers/s390/scsi/zfcp_def.h enum zfcp_erp_act_type(9)struct zfcp_unit(9)struct zfcp_scsi_dev(9)sdev_to_zfcp(9)struct zfcp_fsf_req(9)
go read those next, iykyk π β they're the friend group this function runs with, fr fr π
ngl this one's a tiny page, but she's iconic and she knows it π no notes π
and that's a wrap bestie!! this page came from ./drivers/s390/scsi, dated October 2026, and she's officially titled zfcp_scsi_dev_lun(9) β mwah, go forth and get those LUNs ππ§ββοΈ πΈ
π¦ 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