1 Summary: Utility that uses sysfs to list SCSI devices and SCSI hosts
6 Group: Applications/System
7 Source0: http://sg.torque.net/scsi/%{name}-%{version}.tgz
8 # Source0-md5: 52c1672e36ad0d9a5ef75cccae4831c6
9 URL: http://sg.torque.net/scsi/lsscsi.html
10 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
13 The lsscsi command accesses the sysfs file system (usually mounted
14 under /sys ) to obtain information rather than opening the SCSI device
15 nodes (e.g. /dev/sda) in the system. Reading information within the
16 sysfs file system is usually available to all users (as is the
17 information in procfs). However the permissions on SCSI device nodes
18 are necessarily tight which precludes normal users from directly
19 interrogating these devices. The lsscsi command will typically be
20 available to all users.
30 rm -rf $RPM_BUILD_ROOT
33 DESTDIR=$RPM_BUILD_ROOT
36 rm -rf $RPM_BUILD_ROOT
39 %defattr(644,root,root,755)
40 %doc AUTHORS CREDITS ChangeLog README
41 %attr(755,root,root) %{_bindir}/*