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

Re: [lvm-devel] [PATCH] check for running cluster log daemon, not just log module



On Fri, Jul 16, 2010 at 09:39:47AM -0500, Jon Brassow wrote:
> +int dm_daemon_is_running(const char* lockfile)

> +	/* Should we also read and check pid? */

Yes - check /proc/<pid>/fd/*  if available?

(cf. _get_filename in tools/lvmcmdline.c)

Alasdair


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