寻找Fedora / Centos的scsitools(特别是scsiinfo)

我正在寻找Fedora的scsitools软件包。 Ubuntu有这样一个名为“scsitools”的.deb。 具体来说,我需要找出连接到机器的硬盘的供应商,序列号等。

scsiinfo -i <device>scsiinfo -s <device>似乎在基于debian的系统上很好地完成了任务,但是我找不到.rpm包。

我在哪里可以find这个软件包,或者Fedora上有其他方法来获取这些信息?

看来, sg3_utils包是你在找什么:

 Name : sg3_utils Version : 1.25 Release : 5.el5 Architecture: x86_64 Size : 1133460 Packager : None Group : Utilities/System URL : http://sg.danny.cz/sg/sg3_utils.html Repository : base Summary : Utils for Linux's SCSI generic driver devices + raw devices Description : Collection of Linux utilities for devices that use the SCSI command set. Includes utilities to copy data based on "dd" syntax and semantics (called sg_dd, sgp_dd and sgm_dd); check INQUIRY data and VPD pages (sg_inq); check mode and log pages (sginfo, sg_modes and sg_logs); spin up and down disks (sg_start); do self tests (sg_senddiag); and various other functions. See the README, CHANGELOG and COVERAGE files. Requires the linux kernel 2.4 series or later. In the 2.4 series SCSI generic device names (eg /dev/sg0) must be used. In the 2.6 series other device names may be used as well (eg /dev/sda). 

 # sginfo /dev/sda INQUIRY response (cmd: 0x12) ---------------------------- Device Type 0 Vendor: ATA Product: WDC WD2502ABYS-0 Revision level: 02.0