]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
camcontrol: Add a sense subcommand
authorKenneth D. Merry <ken@FreeBSD.org>
Thu, 28 Dec 2023 21:23:16 +0000 (16:23 -0500)
committerKenneth D. Merry <ken@FreeBSD.org>
Thu, 28 Dec 2023 21:23:16 +0000 (16:23 -0500)
commit40a492d38ee10ecf9d9a099c5cdecc072e24d2d1
tree821bd4a5b8b018ff08daf41a536d7eb97f0f48d1
parentf79b200b6aefb9bdcbe931c5b7ea604e259beee0
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
sbin/camcontrol/camcontrol.8
sbin/camcontrol/camcontrol.c