]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Add pidfile support to ggated(8)
authorngie <ngie@FreeBSD.org>
Thu, 28 Jan 2016 03:24:06 +0000 (03:24 +0000)
committerngie <ngie@FreeBSD.org>
Thu, 28 Jan 2016 03:24:06 +0000 (03:24 +0000)
commitdb5922dc0a22b647ac1359df508e6dba335bbde4
tree9e4885fce430816e6f08bf528b11a9b77c26b7b5
parent3b41a901ce519f40747475e3af8077ccc2cb4be1
Add pidfile support to ggated(8)

The tests will manipulate the system daemon today, which can cause undesired
service interruption when the tests are run.

This change allows the geom_gate tests to be run with an arbitrary ggated(8)
daemon / geom_gate(4) device pairing.

Other changes:
- Sort #includes
- Use a more common idiom for parsing options with getopt(3)

Differential Revision: https://reviews.freebsd.org/D4836
MFC after: 2 weeks
Reviewed by: bjk (manpages), pjd (maintainer timeout)
Sponsored by: EMC / Isilon Storage Division
sbin/ggate/ggated/Makefile
sbin/ggate/ggated/ggated.8
sbin/ggate/ggated/ggated.c