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

[Nbd] [w@...112...: Plugin inteface vs library]



(resending to fix typo... oops)

----- Forwarded message from Wouter Verhelst <w@...112...> -----

Date: Sat, 4 Sep 2010 14:30:09 +0200
From: Wouter Verhelst <w@...112...>
To: laurent@...823..., unbd-general@lists.sourceforge.net
Subject: Plugin inteface vs library
Message-ID: <20100904123009.GF23254@...510...>
Organization: none
User-Agent: Mutt/1.5.20 (2009-06-14)

Hi Laurent,

I noticed you've been working on a moving the working bits of nbd to a
library. As you may have noticed, I've also been working on a dlopen()
plugin interface for nbd-server.

Since both your and my work seem to have the same end goal (of allowing
nbd to be embedded/used by external projects), I'd think it would make
sense to coordinate here. Right?

The goal of my plugin system is to write something where one could
write a module that would implement just the things needed that differ
from the regular nbd-server -- say, you'd implement an "open", "close",
"read", and "write" function -- and have the server handle everything
else -- multiple file support, copy-on-write, negotiating, etc. Or you
could just implement an extra virtualization option, so that a client
could get a different filename based on, say the phase of the moon. I
dunno.

I would think that such things could be useful for what you're trying to
do, as well; but since I don't know what your plans are, that requires
me to guess. Can you comment on what your goals are?

Thanks,

-- 
The biometric identification system at the gates of the CIA headquarters
works because there's a guard with a large gun making sure no one is
trying to fool the system.
  http://www.schneier.com/blog/archives/2009/01/biometrics.html

----- End forwarded message -----

-- 
The biometric identification system at the gates of the CIA headquarters
works because there's a guard with a large gun making sure no one is
trying to fool the system.
  http://www.schneier.com/blog/archives/2009/01/biometrics.html



Reply to: