carta
scsi_dev_info_list_add(9)

scsi_dev_info_list_add9

Add one dev_info list entry.

Arguments

compatible

if true, null terminate short strings. Otherwise space pad.

vendor

vendor string

model

model (product) string

strflags

integer string

flags

if strflags NULL, use this flag value

Overview

Create and add one dev_info entry for vendor, model, strflags or flag. If compatible, add to the tail of the list, do not space pad, and set devinfo->compatible. The scsi_static_device_list entries are added with compatible 1 and clfags NULL.

Return

0 OK, -error on failure.

History

  • Debian 9 (Stretch): the text shown here
  • Debian 8 (Jessie)
  • Debian 7 (Wheezy)
  • Debian 6.0 (Squeeze)
  • Debian 5.0 (Lenny)

Authors

James Bottomley <[email protected]>

Author.

Rob Landley <[email protected]>

Author.

From linux-manual-4.9 4.9.228-1 in Debian 9 (Stretch). Parsed by carta from the page's man source.