]> git.ipfire.org Git - thirdparty/mdadm.git/commit - super1.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, 4 Oct 2012 06:34:20 +0000 (16:34 +1000)
commit7103b9b88d8c27989e17c80d7296eda97370dc1e
tree225ef68ca743ca2bdf6e70a7581ac82aebfa29db
parent9eafa1de73d1bd0b2ac0275d1389824825647df7
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