]> git.ipfire.org Git - thirdparty/mdadm.git/commit - Detail.c
Handles spaces in array names better.
authorNeilBrown <neilb@suse.de>
Thu, 4 Oct 2012 06:34:20 +0000 (16:34 +1000)
committerNeilBrown <neilb@suse.de>
Thu, 18 Oct 2012 04:38:55 +0000 (15:38 +1100)
commit5267ba06c27178ae641b0700526405791883bdcb
treea36077d6da3e3cdd7e098a297d8fefac81113b03
parent6f6809f609879bf18b24d3ed8b0e69686f942d20
Handles spaces in array names better.

1/ When printing the "name=" entry for --brief output,
   enclose name in quotes if it contains spaces etc.
   Quotes are already supported for reading mdadm.conf

2/ When a name is used as a device name, translate spaces
   and tabs to '_', as well as the current translation of
   '/' to '-'.

Signed-off-by: NeilBrown <neilb@suse.de>
Detail.c
lib.c
mapfile.c
mdadm.h
mdopen.c
super1.c