1. Tech

Your suggestion is on its way!

An email with a link to:

http://linux.about.com/library/cmd/blcmdl8_scsi_info.htm

was emailed to:

Thanks for sharing About.com with others!

Linux / Unix Command: scsi_info
Command Library

NAME

scsi_info - SCSI device description tool  

SYNOPSIS

scsi_info device  

DESCRIPTION

Scsi_info opens the specified SCSI device file, and retrieves its actual SCSI address parameters. It also looks up the device in /proc/scsi/scsi and retrieves the device's vendor information, if available. Its output is a pair of Bourne-style shell commands to define the SCSI_ID and MODEL variables based on this information. The SCSI_ID variable has three comma-separated fields: the SCSI channel number, the device ID, and the logical unit number. In most cases, the channel and logical unit will be 0.

The reason for the existence of this utility lies in the peculiar method for assigning minor device numbers to Linux SCSI devices. Devices are numbered based on the order in which they are detected, irrespective of their device addresses. This tool automatically converts these arbitrary device assignments back to the user-configured addresses.  


Important: Use the man command (% man) to see how a command is used on your particular computer.

>> Linux/Unix Command Library

>> Shell Command Library

You can opt-out at any time. Please refer to our privacy policy for contact information.

Discuss in my forum

©2014 About.com. All rights reserved.