]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Improve and expand sesutil(8)
authorallanjude <allanjude@FreeBSD.org>
Sat, 19 Sep 2015 16:36:45 +0000 (16:36 +0000)
committerallanjude <allanjude@FreeBSD.org>
Sat, 19 Sep 2015 16:36:45 +0000 (16:36 +0000)
commitbe1e5390b18553a30e1af7fb90412cf66586dc20
tree3ee4a9177d25069d5a20f9d4144c2af11a4b7936
parenta31c9038cc19399b5798856c2220fd00f9f98479
Improve and expand sesutil(8)

- Return an error if no matching device is found when the locate command is run
- Enhance the locate command to be able to address drive bays with no disk, or where the SES controller has not made the mapping to the device name
- Added the fault command, similar to locate, but a different SES property. On some of my controllers locate blinks the activity light, others the fault light. The fault command keeps the fault light on constant.
- Improve the usage() output and use it everywhere
- Added the map command, displays all elements connected to each (or the specified) ses(4) controller
- Added the status command, returns the overall status of the ses(4) controller

Reviewed by: wblock (man page, earlier version)
Approved by: bapt (mentor)
MFC after: 3 weeks
Relnotes: yes
Sponsored by: ScaleEngine Inc.
Differential Revision: https://reviews.freebsd.org/D3580
usr.sbin/sesutil/Makefile
usr.sbin/sesutil/eltsub.c [new file with mode: 0644]
usr.sbin/sesutil/eltsub.h [new file with mode: 0644]
usr.sbin/sesutil/sesutil.8
usr.sbin/sesutil/sesutil.c