So, about this.

[Cc list trimmed]

On Sat, Jan 31, 2015 at 04:45:00PM +0100, Markus Pargmann wrote:
> Yes some better non-racy way to find a free nbd would be good.

I had been thinking it might make sense for NBD to have something like
an "nbd master", in the style of /dev/pts/ptmx; a /dev node whom you ask
for an NBD device assignment, and which replies with a name, or
something along those lines.

The problem, as ever, is backwards compatibility. If taken to its
logical extreme, this nbdmaster devnode would exist from module
initialization, but things like /dev/nbd0 etc wouldn't be, only when
they are registered. That would not be backwards compatible...

-- 
It is easy to love a country that is famous for chocolate and beer

  -- Barack Obama, speaking in Brussels, Belgium, 2014-03-26

------------------------------------------------------------------------------
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Nbd-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nbd-general

Reply via email to