On Fri, 2004-10-08 at 13:02, Lon Hohberger wrote: > On Fri, 2004-10-08 at 12:34 -0700, Daniel McNeil wrote: > > > These ioctls are ugly. Shouldn't there be a library interface for > > getting this info? We all agreed there should be an API for > > membership and quorum. There should be an API for both the > > kernel and user-land. csnap should NOT use ioctls. > > Fortunately, those "ioctls" aren't part of the csnap code; they're part > of plugin code used by magma to talk to CMAN. > > The plugins implement libmagma's actual communication with different > cluster infrastructures, which is [ugly] ioctls in the case of CMAN and > libgulm's API in the case of GuLM. > > -- Lon Yes, I know that csnap does not use the ioctl's, but Daniel said: "Maybe csnap will end up talking to it the same way, who knows. I just always feel like I got something icky on myself when I call an ioctl." I was just agreeing that the ioctls are ugly and csnap should not use the ioctls directly. Why doesn't cman have a libcman? Daniel