freebsd-src/sbin
Kenneth D. Merry 40a492d38e 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
2023-12-28 16:23:16 -05:00
..
adjkerntz Remove copyright strings ifdef'd out 2023-11-26 22:23:58 -07:00
bectl sbin: Automated cleanup of cdefs and other formatting 2023-11-26 22:23:59 -07:00
bsdlabel Remove copyright strings ifdef'd out 2023-11-26 22:23:58 -07:00
camcontrol camcontrol: Add a sense subcommand 2023-12-28 16:23:16 -05:00
ccdconfig sbin: Automated cleanup of cdefs and other formatting 2023-11-26 22:23:59 -07:00
clri Remove copyright strings ifdef'd out 2023-11-26 22:23:58 -07:00
comcontrol sbin: Remove ancient SCCS tags. 2023-11-26 22:23:29 -07:00
conscontrol sbin: Automated cleanup of cdefs and other formatting 2023-11-26 22:23:59 -07:00
ddb sbin: Automated cleanup of cdefs and other formatting 2023-11-26 22:23:59 -07:00
decryptcore sbin: Automated cleanup of cdefs and other formatting 2023-11-26 22:23:59 -07:00
devd devd: Don't install autofs.conf with WITHOUT_AUTOFS 2023-12-22 15:27:50 +01:00
devfs sbin: Automated cleanup of cdefs and other formatting 2023-11-26 22:23:59 -07:00
devmatch sbin: Automated cleanup of cdefs and other formatting 2023-11-26 22:23:59 -07:00
dhclient Remove $FreeBSD$: two-line nroff pattern 2023-08-16 11:55:10 -06:00
dmesg Remove copyright strings ifdef'd out 2023-11-26 22:23:58 -07:00
dump sbin: Automated cleanup of cdefs and other formatting 2023-11-26 22:23:59 -07:00
dumpfs Remove copyright strings ifdef'd out 2023-11-26 22:23:58 -07:00
dumpon Remove copyright strings ifdef'd out 2023-11-26 22:23:58 -07:00
etherswitchcfg sbin: Remove ancient SCCS tags. 2023-11-26 22:23:29 -07:00
fdisk sbin: Automated cleanup of cdefs and other formatting 2023-11-26 22:23:59 -07:00
ffsinfo Remove copyright strings ifdef'd out 2023-11-26 22:23:58 -07:00
fsck sbin: Automated cleanup of cdefs and other formatting 2023-11-26 22:23:59 -07:00
fsck_ffs sbin: Automated cleanup of cdefs and other formatting 2023-11-26 22:23:59 -07:00
fsck_msdosfs Purge more stray embedded $FreeBSD$ strings 2023-09-25 07:54:56 -07:00
fsdb sbin: Remove ancient SCCS tags. 2023-11-26 22:23:29 -07:00
fsirand Purge more stray embedded $FreeBSD$ strings 2023-09-25 07:54:56 -07:00
gbde Remove $FreeBSD$: one-line bare tag 2023-08-16 11:55:20 -06:00
geom sbin: Automated cleanup of cdefs and other formatting 2023-11-26 22:23:59 -07:00
ggate Remove $FreeBSD$: two-line nroff pattern 2023-08-16 11:55:10 -06:00
growfs Remove copyright strings ifdef'd out 2023-11-26 22:23:58 -07:00
gvinum gvinum(8): Fix a typo 2023-12-26 09:12:27 -07:00
hastctl sbin: Automated cleanup of cdefs and other formatting 2023-11-26 22:23:59 -07:00
hastd sbin: Automated cleanup of cdefs and other formatting 2023-11-26 22:23:59 -07:00
ifconfig net80211: adjust more VHT structures/fields 2023-12-22 00:20:19 +00:00
init Remove copyright strings ifdef'd out 2023-11-26 22:23:58 -07:00
ipf tree: Use 1 semicolon at the end of a statement 2023-12-27 21:05:47 -07:00
ipfw dummynet: add simple gilbert-elliott channel model 2023-12-17 13:20:45 +01:00
kldconfig sbin: Automated cleanup of cdefs and other formatting 2023-11-26 22:23:59 -07:00
kldload Add kenv .Xr in kldload(8) and loader.conf(5) 2023-12-20 21:17:38 -07:00
kldstat sbin: Automated cleanup of cdefs and other formatting 2023-11-26 22:23:59 -07:00
kldunload sbin: Automated cleanup of cdefs and other formatting 2023-11-26 22:23:59 -07:00
ldconfig Remove $FreeBSD$: two-line nroff pattern 2023-08-16 11:55:10 -06:00
md5 sbin: Automated cleanup of cdefs and other formatting 2023-11-26 22:23:59 -07:00
mdconfig sbin: Remove ancient SCCS tags. 2023-11-26 22:23:29 -07:00
mdmfs sbin: Automated cleanup of cdefs and other formatting 2023-11-26 22:23:59 -07:00
mknod Remove copyright strings ifdef'd out 2023-11-26 22:23:58 -07:00
mksnap_ffs Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
mount sbin: Automated cleanup of cdefs and other formatting 2023-11-26 22:23:59 -07:00
mount_cd9660 sccs: Manual changes 2023-11-26 22:23:58 -07:00
mount_fusefs sbin: Automated cleanup of cdefs and other formatting 2023-11-26 22:23:59 -07:00
mount_msdosfs Purge more stray embedded $FreeBSD$ strings 2023-09-25 07:54:56 -07:00
mount_nfs Remove copyright strings ifdef'd out 2023-11-26 22:23:58 -07:00
mount_nullfs Remove copyright strings ifdef'd out 2023-11-26 22:23:58 -07:00
mount_udf Remove $FreeBSD$: two-line nroff pattern 2023-08-16 11:55:10 -06:00
mount_unionfs Remove copyright strings ifdef'd out 2023-11-26 22:23:58 -07:00
natd Remove $FreeBSD$: one-line nroff pattern 2023-08-16 11:55:15 -06:00
newfs sbin: Automated cleanup of cdefs and other formatting 2023-11-26 22:23:59 -07:00
newfs_msdos Purge more stray embedded $FreeBSD$ strings 2023-09-25 07:54:56 -07:00
nfsiod Remove copyright strings ifdef'd out 2023-11-26 22:23:58 -07:00
nos-tun Purge more stray embedded $FreeBSD$ strings 2023-09-25 07:54:56 -07:00
nvmecontrol sbin: Automated cleanup of cdefs and other formatting 2023-11-26 22:23:59 -07:00
pfctl pfctl: Fix recursive printing of anchor labels 2023-11-27 21:37:33 +01:00
pfilctl sbin: Automated cleanup of cdefs and other formatting 2023-11-26 22:23:59 -07:00
pflogd Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
ping sbin: Automated cleanup of cdefs and other formatting 2023-11-26 22:23:59 -07:00
quotacheck Remove copyright strings ifdef'd out 2023-11-26 22:23:58 -07:00
rcorder sccs: Manual changes 2023-11-26 22:23:58 -07:00
reboot Remove copyright strings ifdef'd out 2023-11-26 22:23:58 -07:00
recoverdisk Remove $FreeBSD$: two-line nroff pattern 2023-08-16 11:55:10 -06:00
resolvconf Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
restore sbin: Automated cleanup of cdefs and other formatting 2023-11-26 22:23:59 -07:00
route route: introduce add interface route test cases 2023-11-28 16:16:25 -05:00
routed sbin: Automated cleanup of cdefs and other formatting 2023-11-26 22:23:59 -07:00
rtsol Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
savecore sbin: Automated cleanup of cdefs and other formatting 2023-11-26 22:23:59 -07:00
setkey setkey(8): make the policy specification more readable 2023-10-31 06:07:10 +02:00
shutdown Remove copyright strings ifdef'd out 2023-11-26 22:23:58 -07:00
swapon Remove copyright strings ifdef'd out 2023-11-26 22:23:58 -07:00
sysctl sbin: Automated cleanup of cdefs and other formatting 2023-11-26 22:23:59 -07:00
tests Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
tunefs Remove copyright strings ifdef'd out 2023-11-26 22:23:58 -07:00
umount Remove copyright strings ifdef'd out 2023-11-26 22:23:58 -07:00
veriexec Add mac_grantbylabel 2023-08-24 17:42:11 -07:00
zfsbootcfg sbin: Automated cleanup of cdefs and other formatting 2023-11-26 22:23:59 -07:00
Makefile sbin: Remove ancient SCCS tags. 2023-11-26 22:23:29 -07:00
Makefile.amd64 Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
Makefile.arm Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
Makefile.i386 Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
Makefile.inc sbin: Remove ancient SCCS tags. 2023-11-26 22:23:29 -07:00
Makefile.powerpc64 Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00