]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Implement a devtype command.
authorimp <imp@FreeBSD.org>
Mon, 15 Jul 2019 22:33:37 +0000 (22:33 +0000)
committerimp <imp@FreeBSD.org>
Mon, 15 Jul 2019 22:33:37 +0000 (22:33 +0000)
commitd8128fcfa581c18a2d9ce0cb945562acf2aefbd7
treeca15e38c5933951c2ee6b4d8af912a887d23d270
parentbd67f2ec6b6283a29cb2fda3577c28558458db72
Implement a devtype command.

List the device's protocol. The returned value is one of the following:
ata direct attach ATA or SATA device
satl a SATA device attached via SAS
scsi A parallel SCSI or SAS
nvme A direct attached NVMe device
mmcsd A MMC or SD attached device

Reviewed by: scottl@, rpokala@
Differential Revision: https://reviews.freebsd.org/D20950
sbin/camcontrol/camcontrol.8
sbin/camcontrol/camcontrol.c