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
Details
Diff Detail
- Lint
Lint Passed - Unit
No Test Coverage - Build Status
Buildable 25354 Build 24007: arc lint + arc unit
Event Timeline
sbin/camcontrol/camcontrol.8 | ||
---|---|---|
2534 | The wording is a bit funny, device attached via device… Maybe "attached via an SD/MMC controller"? |
sbin/camcontrol/camcontrol.8 | ||
---|---|---|
2527 | The term sat or satl is a more mainstream term here. I know that the CC_DT_ATA_BEHIND_SCSI name already exists, but for user-facing functionality, let's do it differently (and I wouldn't mind if the CC_DT name changed also). | |
2538 | Something to consider would be a raid devtype, since there are a fair number of drivers that have devices of this type. | |
sbin/camcontrol/camcontrol.c | ||
271 | Use satl here. |
sbin/camcontrol/camcontrol.8 | ||
---|---|---|
2527 | I'll go with satl and move these changes through. | |
2534 | It's from the department of redundancy department. I'll fix their incursion into my work. | |
2538 | What distinguishes this? all the other things are basically a protocol level thing, while this I'm unsure how to implement. | |
sbin/camcontrol/camcontrol.c | ||
271 | will do |
sbin/camcontrol/camcontrol.8 | ||
---|---|---|
2538 | I'll add 'raid' in the future once we get sorted out what that means. |
As this looks like a minor typo for me, I am trying to submit without any "add action".
head/sbin/camcontrol/camcontrol.c | ||
---|---|---|
5418 ↗ | (On Diff #59789) | I am sorry, but didn't you mean "attached"? |