---
name: "scsi_device_supports_vpd"
section: "9"
platform: "linux"
package: "linux-manual-4.9"
version: "4.9.228-1"
release: "Debian 9 (Stretch)"
platforms: ["linux"]
url: "https://new.carta.tech/scsi_device_supports_vpd"
---

# scsi\_device\_supports\_vpd(9)

test if a device supports VPD pages

## 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

If the 'try\_vpd\_pages' flag is set it takes precedence. Otherwise we will assume VPD pages are supported if the SCSI level is at least SPC-3 and 'skip\_vpd\_pages' is not set.

## AUTHORS

**James Bottomley** \<James.Bottomley@hansenpartnership.com\>

Author.

**Rob Landley** \<rob@landley.net\>

Author.

## COPYRIGHT
