3 Commits

Author SHA1 Message Date
allanjude
66d55487b9 Convert usr.sbin/sesutil to LPADD/DPADD for stable/10
Direct commit to stable/10

Pointy Hat To: allanjude
2016-01-14 04:25:29 +00:00
allanjude
e37f0a84b3 MFC: r287473
Add the new sesutil(8) utility for managing SCSI Enclosure Services (SES) device.

MFC: r287493
  Fix iteration bug

MFC: r287485, r287494, r287992
  Please the angry gcc 4.2 gods

MFC: r287988
  Improve and expand sesutil(8)

  Return an error if no matching device is found
  Locate can address a slot, in addition to a drive
  Added fault, similar to locate but blinks a different LED
  Added the map command, lists all devices connected to the SES controller
  Added the status command, overall status of the SES controller

MFC: r292092
  sesutil: fix map not printing the status of the LED device in an array

MFC: r292093
  sesutil: pass the correct element type when printing the SES map

MFC: r292121
  sesutil: Add extra information specific to some SES devices to sesutil map

MFC: r292122
  Fix sesutil locate when a sesid is passed to locate command

MFC: r292262
  Show the enclosure name and id in sesutil map

Relnotes:	yes
Sponsored by:	Gandi.net
Sponsored by:	ScaleEngine Inc.
2016-01-14 01:42:09 +00:00
bapt
49c462994f MFC 287473,287485,287493,287494
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
Relnotes:	yes
Sponsored by:	gandi.net
2015-10-05 08:18:31 +00:00