/
githubmirror
/
sg3_utils
ОбзорДокументацияВойти
/
githubmirror
/
sg3_utils
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
ДокументацияПоддержка
Политика конфиденциальностиПользовательское соглашениеПолитика использования «cookies»Согласие субъекта персональных данных
2026 ©
sg3_utils/
scripts/
..
00-scsi-sg3_config.rules

scripts/00-scsi-sg3_config.rules : apply https://github.com/doug-gilbert/sg3_utils/pull/42

3 года назад
40-usb-blacklist.rules

sg_logs: additions to Command duration limits statistics log page [spc6r06]; configure.ac: tweak to accepts uclinux as linux

5 лет назад
54-before-scsi-sg3_id.rules

sg_inq: update version descriptors to spc5r21; scripts/scsi-sg3_id: update rules; testing folder work

7 лет назад
55-scsi-sg3_id.rules

udev rules: avoid spurious warning for non-SCSI devices

5 месяцев назад
58-scsi-sg3_symlink.rules

udev rules: restrict use of ambiguous device IDs patchset

3 года назад
59-fc-wwpn-id.rules

scripts: update 54-before-scsi-sg3_id.rules; more testing tweaks

7 лет назад
59-scsi-cciss_id.rules

https://github.com/hreinecke/sg3_utils branch sles15 synced 20170914; change sg_ll_*() function's 'int noisy' to bool

9 лет назад
CMakeLists.txt

cmake cleanup from PR #92

16 дней назад
Makefile.am

fixes for make distcheck; update ChangeLog; update asc/ascq codes and version descriptors; other cleanups

4 месяца назад
README

rescan-scsi-bus.sh: github issue #76 a few shellcheck fixes; scsi_logging_level: add MIT license Xose Vazquez Perez; sg_ses: restore some help text, github PR #79 Paul Evans

2 месяца назад
cciss_id

https://github.com/hreinecke/sg3_utils branch sles15 synced 20170914; change sg_ll_*() function's 'int noisy' to bool

9 лет назад
cmake_del_artifacts.sh

add cmake build system (alongside autotools) with cpack for deb and rpm packages; fixes so musl-gcc builds clean

3 месяца назад
fc_wwpn_id

sg_raw: add --cmdset option to bypass cdb heuristic, add --scan= first_opcode,last_opcode; bug fixes

6 лет назад
lunmask.service

https://github.com/hreinecke/sg3_utils branch sles15 synced 20170914; change sg_ll_*() function's 'int noisy' to bool

9 лет назад
rescan-scsi-bus.sh

rescan-scsi-bus.sh: github issue #76 a few shellcheck fixes; scsi_logging_level: add MIT license Xose Vazquez Perez; sg_ses: restore some help text, github PR #79 Paul Evans

2 месяца назад
scsi-enable-target-scan.sh

static checking cleanup; shellcheck on scripts

3 месяца назад
scsi_logging_level

rescan-scsi-bus.sh: github issue #76 a few shellcheck fixes; scsi_logging_level: add MIT license Xose Vazquez Perez; sg_ses: restore some help text, github PR #79 Paul Evans

2 месяца назад
scsi_mandat

static checking cleanup; shellcheck on scripts

3 месяца назад
scsi_readcap

static checking cleanup; shellcheck on scripts

3 месяца назад
scsi_ready

static checking cleanup; shellcheck on scripts

3 месяца назад
scsi_satl

static checking cleanup; shellcheck on scripts

3 месяца назад
scsi_start

static checking cleanup; shellcheck on scripts

3 месяца назад
scsi_stop

static checking cleanup; shellcheck on scripts

3 месяца назад
scsi_temperature

static checking cleanup; shellcheck on scripts

3 месяца назад
README
README for sg3_utils/scripts
============================
Introduction
============
This directory contains bash shell scripts. Most of them call one or
more utilities from the sg3_utils package. They assume the sg3_utils
package utilities are on the PATH of the user.
 
rescan-scsi-bus.sh is written by Kurt Garloff (formerly from Suse Labs)
with patches from Hannes Reinecke (Suse) and Redhat. There have also
been patches from Paul Evans and Xose Vazquez Perez.
 
scsi_logging_level is written by Andreas Herrmann <aherrman at de dot ibm
dot com>. It sets the logging level of the SCSI subsystem in the Linux
2.6 series kernels. See that file for more information.
 
The other scripts are written by the author. Some do testing while others
do bulk tasks (e.g. stopping multiple disks).
 
Details
=======
Each script supplies more information, typically by supplying a '-h'
or '--help' option. The script source often contains explanatory
information. Following is a usage summary with a one line description:
rescan-scsi-bus.sh [OPTIONS]
- see the output of 'rescan-scsi-bus.sh --help'
scsi_logging_level [OPTIONS]
- set Linux SCSI subsystem logging level
scsi_mandat [-h] [-L] [-q] <device>
- check for mandatory SCSI command support
scsi_readcap [-b] [-h] [-v] <device>+
- fetch capacity/size information for each <device>
scsi_ready [-h] [-v] <device>+
- check the media ready status on each <device>
scsi_satl [-h] [-L] [-q] [-v] <device>
- check <device> for SCSI to ATA Translation Layer (SATL)
scsi_start [-h] [-v] [-w] <device>+
- start media (i.e. spin up) in each <device>
scsi_stop [-h] [-v] [-w] <device>+
- stop media (i.e. spin down) in each <device>
scsi_temperature [-h] [-v] <device>+
- check temperature in each <device>
 
These scripts assume that the main sg3_utils utilities are installed
and are on the user's PATH.
 
This directory, prior to sg3_utils-1.28, contained the sas_disk_blink
script. Since it depends on the sdparm utility it has been moved to
the sdparm package in its scripts directory.
 
59-scsi-sg3_utils.rules is a Linux specific file for udev. These rules use
'sg_inq --export' to help udev create identifying device nodes, for example
/dev/disk/by-id/wwn-0x5001501234567890-part1.
 
Douglas Gilbert
26th May 2026