[dm-devel] [PATCH v2 3/5] libmultipath: config parser: Allow '"' in strings

Xose Vazquez Perez xose.vazquez at gmail.com
Fri Mar 23 16:59:52 UTC 2018


On 03/08/2018 12:26 AM, Martin Wilck wrote:

> We have seen model strings lile '2.5" SSD' which can't be parsed
> by the current config parser. This patch fixes this by allowing
> '""' to represent a double quote character inside a a string.
> The above model string could now be entered in the config file like this:
> 
> blacklist {
> 	  vendor SomeCorp
> 	  product "2.5"" SSD"
> }


Could this work in the first place?

          product "2.5\" SSD"




More information about the dm-devel mailing list