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

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

 



On Apr 8, 2009, at 2:31 AM, Neil Brown wrote:
I'm leaning towards:

- to open for reading, if /var/run/mdadm/map doesn't exist,
  try /dev/.mdadm.map
- to open for writing, if opening /var/run/mdadm/map and
  /var/run/mdadm.map for writing fails, try /dev/.mdadm.map

Note that I don't want to put the file in /dev/md/ as that might not
exist yet either.

So the idea is to still use /var/run/mdadm{.,/}map, but fall back on
/dev/.mdadm.map if that is the only option.

Thought?

Fine with me.


--

Doug Ledford <dledford@xxxxxxxxxx>

GPG KeyID: CFBFF194
http://people.redhat.com/dledford

InfiniBand Specific RPMS
http://people.redhat.com/dledford/Infiniband




Attachment: PGP.sig
Description: This is a digitally signed message part


[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