docs: mention whitespace handling diskspec target= parsing
authorOlaf Hering <olaf@aepfle.de>
Thu, 13 Feb 2014 14:43:24 +0000 (15:43 +0100)
committerIan Campbell <ian.campbell@citrix.com>
Thu, 13 Feb 2014 14:57:46 +0000 (14:57 +0000)
disk=[ ' target=/dev/loop0 ' ] will fail to parse because
'/dev/loop ' does not exist.

Signed-off-by: Olaf Hering <olaf@aepfle.de>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
docs/misc/xl-disk-configuration.txt

index 5bd456d8849f0e0fa824dc696c4243044069f080..cf22397ba410c3c0ff035540a429bc073f4b998b 100644 (file)
@@ -70,11 +70,11 @@ Special syntax:
 
    When this parameter is specified by name, ie with the "target="
    syntax in the configuration file, it consumes the whole rest of the
-   <diskspec>.  Therefore in that case it must come last.  This is
-   permissible even if an empty value for the target was already
-   specified as a positional parameter.  This is the only way to
-   specify a target string containing metacharacters such as commas
-   and (in some cases) colons, which would otherwise be
+   <diskspec> including trailing whitespaces.  Therefore in that case
+   it must come last.  This is permissible even if an empty value for
+   the target was already specified as a positional parameter.  This
+   is the only way to specify a target string containing metacharacters
+   such as commas and (in some cases) colons, which would otherwise be
    misinterpreted.
 
    Future parameter and flag names will start with an ascii letter and