Sophie

Sophie

distrib > Fedora > 15 > i386 > by-pkgid > 5e8a50d8aecdcfa907556ac7cbcb572f > files > 3

mdadm-3.2.5-1.fc15.src.rpm

--- mdadm-3.2.4/Makefile.map-dir	2012-05-10 12:29:09.687578525 +0200
+++ mdadm-3.2.4/Makefile	2012-05-10 12:28:05.514380800 +0200
@@ -67,12 +67,12 @@
 # Both MAP_DIR and MDMON_DIR should be somewhere that persists across the
 # pivotroot from early boot to late boot.
 # /run is best, but for distros that don't support that, /dev can work.
-MAP_DIR=/run/mdadm
-MAP_FILE = map
+MAP_DIR=/dev/md
+MAP_FILE = md-device-map
 MAP_PATH = $(MAP_DIR)/$(MAP_FILE)
 MDMON_DIR = $(MAP_DIR)
 # place for autoreplace cookies
-FAILED_SLOTS_DIR = /run/mdadm/failed-slots
+FAILED_SLOTS_DIR = $(MDMON_DIR)/failed-slots
 DIRFLAGS = -DMAP_DIR=\"$(MAP_DIR)\" -DMAP_FILE=\"$(MAP_FILE)\"
 DIRFLAGS += -DMDMON_DIR=\"$(MDMON_DIR)\"
 DIRFLAGS += -DFAILED_SLOTS_DIR=\"$(FAILED_SLOTS_DIR)\"