Date: Mon, 1 Mar 1999 22:53:16 -0800 (PST) From: Greg Lehey <grog@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/dev/vinum vinumdaemon.c Message-ID: <199903020653.WAA44585@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
grog 1999/03/01 22:53:16 PST
Modified files:
sys/dev/vinum vinumdaemon.c
Log:
change printf() calls to log() calls.
Don't save config while we're reading it from disk.
Change the way we handle the daemon: if we can't communicate with it
for 1 second (which is possible), start a new one. The daemon saves
its pid in daemonpid; on each iteration of the main loop the daemon
checks whether it's still in favour. If not, it silently exits.
Also, when trying to communicate with the daemon, check daemonpid
first. If it's set to 0, don't even try.
Revision Changes Path
1.5 +24 -18 src/sys/dev/vinum/vinumdaemon.c
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199903020653.WAA44585>
