]> git.ipfire.org Git - thirdparty/mdadm.git/commit
mapfile: just have one place to store the mapfile
authorNeilBrown <neilb@suse.de>
Fri, 6 Aug 2010 04:54:10 +0000 (14:54 +1000)
committerNeilBrown <neilb@suse.de>
Fri, 6 Aug 2010 04:54:10 +0000 (14:54 +1000)
commit9e751dc7a08389b72011be6099710fdadc722b2d
treef6c7ca2b8002a6d8deb70e7be18f84cdb2b0d6d8
parent925211e323e06cc4a5c2b73d8b0ae0b7fdc9730b
mapfile: just have one place to store the mapfile

Having multiple possible locations and guessing where best to put the
file is too messy, confusing and makes locking problematic.

So just keep it in /dev/.mdadm/map.  It is a horrible place but it is
really all we have.  System integrators can change this easily at
build time.

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