git: vkernel - enhance the pidfile option and fix memimg file scanning
Matthew Dillon
dillon at crater.dragonflybsd.org
Fri Jul 8 16:09:16 PDT 2011
commit bc3cc25e9d9f4d967ae2ae3a552e42af0dd32ea1
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date: Fri Jul 8 16:05:42 2011 -0700
vkernel - enhance the pidfile option and fix memimg file scanning
* Enhance the pidfile option to leave the file descriptor open and hold
an active lock on the pidfile while the vkernel is running.
This allows scripts to test whether the pidfile is real or stale.
* When scanning for memimg files only stop if we are unable to create
a new file. Skip files owned by other users instead of giving up.
* Adjust the vkernel manual page to document the pidfile feature. Also
document that -I can take a vknetd socket path.
Summary of changes:
share/man/man7/vkernel.7 | 33 +++++++++++++++++++----
sys/platform/vkernel/platform/init.c | 44 +++++++++++++++++++++-----------
sys/platform/vkernel64/platform/init.c | 43 ++++++++++++++++++++-----------
3 files changed, 84 insertions(+), 36 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/bc3cc25e9d9f4d967ae2ae3a552e42af0dd32ea1
--
DragonFly BSD source repository
More information about the Commits
mailing list