Skip to contentSkip to conversation

docs: mention whitespace handling diskspec target= parsing

PATCH In review Olaf Hering 2 participants 2 messages Feb 13, 2014

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 docs: mention whitespace handling diskspec target= parsing

disk=[ ' target=/dev/loop0 ' ] will fail to parse because '/dev/loop ' does not exist.

---
 docs/misc/xl-disk-configuration.txt | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)
docs/misc/xl-disk-configuration.txt +5 -5
index c9fd9bd..b8077da 100644
@@ -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