1 Summary: Utility that uses sysfs to list SCSI devices and SCSI hosts
2 Summary(pl): Narzêdzie u¿ywaj±ce sysfs-a do wypisywania urz±dzeñ i hostów SCSI
7 Group: Applications/System
8 Source0: http://sg.torque.net/scsi/%{name}-%{version}.tgz
9 # Source0-md5: d4add3dd2f6763c55508a0a7dc39b29b
10 URL: http://sg.torque.net/scsi/lsscsi.html
11 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
14 The lsscsi command accesses the sysfs file system (usually mounted
15 under /sys ) to obtain information rather than opening the SCSI device
16 nodes (e.g. /dev/sda) in the system. Reading information within the
17 sysfs file system is usually available to all users (as is the
18 information in procfs). However the permissions on SCSI device nodes
19 are necessarily tight which precludes normal users from directly
20 interrogating these devices. The lsscsi command will typically be
21 available to all users.
24 Polecenie lsscsi w celu uzyskania informacji odczytuje system plików
25 sysfs (zwykle podmontowany pod /sys) zamiast otwierania plików
26 urz±dzeñ SCSI (np. /dev/sda) w systemie. Odczyt informacji z systemu
27 plików sysfs jest zwykle dostêpny dla wszystkich u¿ytkowników
28 (podobnie jak informacje w procfs). Jednak uprawnienia do plików
29 urz±dzeñ SCSI musz± byæ ograniczone, aby nie pozwoliæ na bezpo¶redni
30 dostêp przez u¿ytkowników do tych urz±dzeñ. Polecenie lsscsi zwykle
31 jest dostêpne dla wszystkich u¿ytkowników.
41 rm -rf $RPM_BUILD_ROOT
44 DESTDIR=$RPM_BUILD_ROOT
47 rm -rf $RPM_BUILD_ROOT
50 %defattr(644,root,root,755)
51 %doc AUTHORS CREDITS ChangeLog README
52 %attr(755,root,root) %{_bindir}/*