---
name: "scsi_get_device_flags"
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_get_device_flags"
---

# scsi\_get\_device\_flags(9)

get device specific flags from the dynamic device list.

## NAME

scsi\_get\_device\_flags - get device specific flags from the dynamic device list.

## SYNOPSIS

**int scsi\_get\_device\_flags(struct scsi\_device \*** *sdev***, const unsigned char \*** *vendor***, const unsigned char \*** *model***);**

## ARGUMENTS

*sdev*

scsi\_device to get flags for

*vendor*

vendor name

*model*

model name

## DESCRIPTION

Search the global scsi\_dev\_info\_list (specified by list zero) for an entry matching *vendor* and *model*, if found, return the matching flags value, else return the host or global default settings. Called during scan time.

## AUTHORS

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

Author.

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

Author.

## COPYRIGHT
