]> git.ipfire.org Git - thirdparty/mdadm.git/commit
map: rebuild map if it doesn't exist.
authorNeilBrown <neilb@suse.de>
Thu, 18 Dec 2008 05:23:46 +0000 (16:23 +1100)
committerNeilBrown <neilb@suse.de>
Thu, 18 Dec 2008 05:23:46 +0000 (16:23 +1100)
commit3a56f223e94106102eed3fd2b08d3ecad353361b
tree8604aae606146e65447d58a653a69a7a0da72721
parentacee8e896406b686d4b4f12bb748352d20ef83a5
map: rebuild map if it doesn't exist.

It is possible for some arrays to be created e.g. by initrd, and so
not get mentioned in /var/run/mdadm/map.
As "-I" depends on things being listed in 'map', we create it by
scanning all devices if it doesn't exist.

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