Re: [Patch] mdadm: move mdadm.map file into /dev/md

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Apr 06, 2009 at 10:52:10AM -0400, Doug Ledford wrote:
Originally, mdadm used /var/run/mdadm/mdadm.map file to store the temporary mappings of incrementally added devices to device names. Unfortunately, this breaks incremental assembly if used early in the booting process. Specifically, root may still be read only. Since incremental assembly is largely a udev specific feature, and udev needs a writable /dev tmpfs mount even when root is still read only, it's safer to put our mdadm.map file in /dev/md so that we can write to the map file no matter how early in the boot process we are attempting to use incremental assembly.



since we are at it, what about using a #define for the file path?

L.




--
Luca Berra -- bluca@xxxxxxxxxx
        Communication Media & Services S.r.l.
 /"\
 \ /     ASCII RIBBON CAMPAIGN
  X        AGAINST HTML MAIL
 / \
--
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux RAID Wiki]     [ATA RAID]     [Linux SCSI Target Infrastructure]     [Linux Block]     [Linux IDE]     [Linux SCSI]     [Linux Hams]     [Device Mapper]     [Device Mapper Cryptographics]     [Kernel]     [Linux Admin]     [Linux Net]     [GFS]     [RPM]     [git]     [Yosemite Forum]


  Powered by Linux