HomeFreeBSD

camcontrol: Add a sense subcommand

Description

camcontrol: Add a sense subcommand

As the name suggests, this sends a SCSI REQUEST SENSE to a device,
and prints out decoded sense information. It can also print out a
hexdump of the sense data.

sbin/camcontrol/camcontrol.c:
Add the new sense subcommand.

sbin/camcontrol/camcontrol.8:
Document camcontrol sense.

Sponsored by: Spectra Logic
Reviewed by: mav
MFC after: 3 days
Differential Revision: https://reviews.freebsd.org/D43225

Details

Provenance
kenAuthored on Dec 28 2023, 9:23 PM
Reviewer
mav
Differential Revision
D43225: Add a sense subcommand to camcontrol(8)
Parents
rGf79b200b6aef: nfsstat: make -q work without -e/-E
Branches
Unknown
Tags
Unknown