--On 30 May 2011 18:18:21 +0200 Goswin von Brederlow <[email protected]>
wrote:
>> The first option the client sends (not the last) should be the
>> export name, because that's what you need to return things like
>> size.
>
> My plan is to use NBD in a dynamic setup even with hotplug support.
> That means I won't exactly know what disk will be available in the
> server. So I need a "list exports" option for that to work well.
> Obviously I can't send an export name prior to list exports.
>
> I wouldn't say that any option must be first. I would just say that some
> options must be after others.
That's fair enough. I guess in my pipe-dream scheme this would go:
S->C: WANT OPTION EXPORT
C->S: WANT OPTION EXPORTLIST
S->C: OPTION EXPORTLIST [...list...]
C->S: OPTION EXPORT [...name...]
S->C: [more options]
--
Alex Bligh
------------------------------------------------------------------------------
vRanger cuts backup time in half-while increasing security.
With the market-leading solution for virtual backup and recovery,
you get blazing-fast, flexible, and affordable data protection.
Download your free trial now.
http://p.sf.net/sfu/quest-d2dcopy1
_______________________________________________
Nbd-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nbd-general