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
Differential Revision: https://reviews.freebsd.org/D43225

(cherry picked from commit 40a492d38ee10ecf9d9a099c5cdecc072e24d2d1)

Details

Provenance
kenAuthored on Dec 28 2023, 9:23 PM
Reviewer
mav
Differential Revision
D43225: Add a sense subcommand to camcontrol(8)
Parents
rGbcfe05c6b683: calendar: correct the search order for files
Branches
Unknown
Tags
Unknown