HomeFreeBSD

Add a new sesutil(8) utility

Description

Add a new sesutil(8) utility

This is an utility for managing SCSI Enclosure Services (SES) device.

For now only one command is supported "locate" which will change the test of the
external LED associated to a given disk.

Usage if the following:
sesutil locate disk [on|off]

Disk can be a device name: "da12" or a special keyword: "all".

Reviewed by: mav
MFC after: 1 month
Relnotes: yes
Sponsored by: gandi.net
Differential Revision: https://reviews.freebsd.org/D3544

Details

Provenance
baptAuthored on
Reviewer
mav
Differential Revision
D3544: Introduce a new sesutil(8) tool
Parents
rS287472: Update ports-secteam roster
Branches
Unknown
Tags
Unknown

Event Timeline

allanjude added inline comments.
/head/usr.sbin/sesutil/sesutil.c
178

i is already incremented by the for loop, so this causes only every 2nd item to be iterated over.