DragonFly BSD
DragonFly commits List (threaded) for 2011-07
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

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


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Fri, 8 Jul 2011 16:08:31 -0700 (PDT)

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



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]