logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

scsi_mandat - check SCSI device support for mandatory commands

Authors

       Written by D. Gilbert

Description

       This  bash  shell  script  calls  several  SCSI  commands  on  the  given DEVICE. These SCSI commands are
       considered mandatory (although that varies a little depending on which standard/draft the DEVICE complies
       with). The results of each test and a pass/fail count are output.

Exit Status

       The  exit  status  of  this script is the number of "bad" errors found.  So an exit status of 0 means all
       mandatory SCSI commands worked as expected.

Name

       scsi_mandat - check SCSI device support for mandatory commands

Options

       Arguments to long options are mandatory for short options as well.

       -h, --help
              print out the usage message then exit.

       -L, --log
              the  output  to  stderr  (from  each  SCSI  command  executed)  is  appended  to  a  file   called
              'scsi_mandat.err' in the current working directory.

       -q, --quiet
              the amount of output is reduced and typically only the pass/fail count is output.

       -v, --verbose
              increase level or verbosity.

See Also

sg_inq,sg_luns,sg_turs,sg_requests,sg_vpd,sg_senddiag(sg3_utils)

sg3_utils-1.36                                      May 2013                                      SCSI_MANDAT(8)

Synopsis

scsi_mandat [--help] [--log] [--quiet] [--verbose] DEVICE

See Also