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

Re: [PATCH for discussion] doc: Define a standard URI syntax for NBD URIs.



On Sun, May 26, 2019 at 02:05:54PM +0300, Nir Soffer wrote:
> > On Sun, May 26, 2019 at 10:00:18AM +0100, Richard W.M. Jones wrote:
> > > Anyway I was going to say:
> > >
> > >  - There's no way to specify abstract Unix domain sockets.
> 
> 
> Isn't this enough?
> 
>     nbd+unix:///export?socket=%00/org/foo

I can foresee this causing endless problems with C-based parsers :-(
But yes it would work if the parsers are written to expect it, which
means if we go with this we need to mention it in the spec.  And it
looks like Python can handle it already.

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming and virtualization blog: http://rwmj.wordpress.com
virt-top is 'top' for virtual machines.  Tiny program with many
powerful monitoring features, net stats, disk stats, logging, etc.
http://people.redhat.com/~rjones/virt-top


Reply to: