scsi_device_supports_vpd(9)
π scsi_device_supports_vpd(9) π
okay so this page is from the Kernel API Manual, and it's basically a vibe check for SCSI devices: does this device support VPD pages or not? let's get into it, bestie π¦
πΈ NAME πΈ
scsi_device_supports_vpd β test if a device supports VPD pages β¨
π SYNOPSIS π
int scsi_device_supports_vpd (struct scsi_device *sdev );
π ARGUMENTS π
sdevβ thestruct scsi_deviceto test π«Ά
π₯ DESCRIPTION π₯
so here's the tea: if the try_vpd_pages flag is set, it takes precedence β periodt. otherwise, we assume VPD pages are supported if the SCSI level is at least SPC-3 and skip_vpd_pages is not set. that's the whole rule, no cap π
π SEE ALSO π
- Kernel file
./include/scsi/scsi_device.hstructscsi_vpd(9)β yes bestie, go peek at the header π shost_for_each_device(9)__shost_for_each_device(9)scsi_device_is_pseudo_dev(9)
π that's a wrap, bestie β source/version ./include/scsi, dated October 2026, and this iconic page is scsi_device_supports_vpd(9). byeee π
π¦ 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