mdmon: fork and run as a daemon.
authorNeilBrown <neilb@suse.de>
Fri, 18 Jul 2008 06:37:20 +0000 (16:37 +1000)
committerNeilBrown <neilb@suse.de>
Fri, 18 Jul 2008 06:37:20 +0000 (16:37 +1000)
commit9fe32043178f221526b6d59f3bbce58f777089da
tree6dc16f33e5fefbd801484f51ef0605af5d22eefb
parent8dfb8619f928d58ac7369c42e9f94dd0dabfed4b
mdmon: fork and run as a daemon.

start_mdmon now waits for mdmon to complete initialisation and,
importantly, listen on the socket, before continuing.

Signed-off-by: Neil Brown <neilb@suse.de>
mdmon.c
util.c