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

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

 



Doug Ledford <dledford@xxxxxxxxxx> writes:

> 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.

What about /lib/init/rw?

You say largely udev specific so there might not be an udev running
and no tmpfs on /dev.

MfG
        Goswin
--
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