]> git.ipfire.org Git - thirdparty/mdadm.git/commit
Be more consistent about keeping the host: prefix on array names.
authorNeilBrown <neilb@suse.de>
Mon, 11 May 2009 05:47:10 +0000 (15:47 +1000)
committerNeilBrown <neilb@suse.de>
Mon, 11 May 2009 05:47:10 +0000 (15:47 +1000)
commit7cdc0872342e8834f224132867ea88ee04e050bf
treed372fa52b023528c2069607753bce302700c636e
parent5c4c9ab16d7db67c660570c354e9e75fb6e20ecc
Be more consistent about keeping the host: prefix on array names.

If an array name contains a "hostname:" prefix, then
--assemble will tend to leave it there, while --incremental
will strip it off (when chosing a device name during auto-assembly).

Make this more consistent:  strip the name off if we decide that
the name will be treated as 'local'.  Leave it on if it will be
treated as 'foreign'.

Signed-off-by: NeilBrown <neilb@suse.de>
Assemble.c
Incremental.c