git: vkernel - enhance the pidfile option and fix memimg file sc

看板DFBSD_commit作者時間14年前 (2011/07/09 07:32), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
commit bc3cc25e9d9f4d967ae2ae3a552e42af0dd32ea1 Author: Matthew Dillon <dillon@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
文章代碼(AID): #1E5vDutH (DFBSD_commit)