---
name: "scsi_dev_info_list_add_str"
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_dev_info_list_add_str"
---

# scsi\_dev\_info\_list\_add\_str(9)

parse dev\_list and add to the scsi\_dev\_info\_list.

## NAME

scsi\_dev\_info\_list\_add\_str - parse dev\_list and add to the scsi\_dev\_info\_list.

## SYNOPSIS

**int scsi\_dev\_info\_list\_add\_str(char \*** *dev\_list***);**

## ARGUMENTS

*dev\_list*

string of device flags to add

## DESCRIPTION

Parse dev\_list, and add entries to the scsi\_dev\_info\_list. dev\_list is of the form “vendor:product:flag,vendor:product:flag”. dev\_list is modified via strsep. Can be called for command line addition, for proc or mabye a sysfs interface.

## RETURN

0 if OK, -error on failure.

## AUTHORS

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

Author.

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

Author.

## COPYRIGHT
