SG_RESET(8)

NAME
sg_reset - exercises SCSI device/bus/host reset capability

SYNOPSIS
sg_reset [-d] [-b] [-h] <generic device>

DESCRIPTION

sg_reset exercises the SCSI device/bus/host reset capability. It is supported by the sg driver in lk 2.2.16 and beyond but associated SCSI middle level driver changes were not been accepted into the official kernel for some time. Many distributions contain the patch to the mid-level that activates this feature. The required patch first officially appeared in the kernel in lk 2.4.19 .

-d  attempt a SCSI device reset

-b  attempt a SCSI bus reset

-h  attempt a host adapter reset

If no switch is given, then sg_reset checks if a reset is underway.

AUTHORS
Written by Douglas Gilbert.

COPYRIGHT
Copyright © 1999-2002 Douglas Gilbert
This software is distributed under the GPL version 2. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.