|
|
|
|
|
|
|
|
|
|
xen-devel
RE: [Xen-devel] block-nbd script and example config
> Yup. Here's another example:
>
> disks = [ 'export=file:/home/anthony/images/Fedora Core
> 4.img, target=/dev/sda1, options=rw',
>
> This is going to become difficult to parse (we could split
> with ',' here but then what if we have commas in files). We
> could support an escaping mechanism but then it would require
> triple escapes like:
>
> disks = [ 'export=file:/home/anthony/image/Fedora Core 4\\\,
> x86-64.img, target=/dev/sda1, options=rw' ]
The best way of doing this is:
disks = [ 'export=file:"/home/anthony/images/Fedora Core 4.img",
target=/dev/sda1, options=rw',
We'd remove double quotes and treat anything between them as a single
token. I think this would work OK.
Ian
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
|
|
|
|