scsi_device_supports_vpd(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– 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 β€” the struct scsi_device to 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 🌈


πŸŽ€ 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