From mboxrd@z Thu Jan 1 00:00:00 1970 From: Doug Ledford Subject: Re: [[Patch mdadm] 2/5] Move the files mdmon opens into /dev/ to support handoff after pivotroot Date: Thu, 04 Feb 2010 12:35:24 -0500 Message-ID: <4B6B055C.1010203@redhat.com> References: <1263242294-5353-1-git-send-email-dledford@redhat.com> <201002041603.37619.bernd.schubert@fastmail.fm> <4B6AEC4C.9060705@redhat.com> <201002041740.19001.bernd.schubert@fastmail.fm> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig8A80E8B8FA7675BED33FDCE0" Return-path: In-Reply-To: <201002041740.19001.bernd.schubert@fastmail.fm> Sender: linux-raid-owner@vger.kernel.org To: Bernd Schubert Cc: Bill Davidsen , Michael Evans , Neil Brown , linux-raid@vger.kernel.org List-Id: linux-raid.ids This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig8A80E8B8FA7675BED33FDCE0 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: quoted-printable On 02/04/2010 11:40 AM, Bernd Schubert wrote: > On Thursday 04 February 2010, Doug Ledford wrote: >> On 02/04/2010 10:03 AM, Bernd Schubert wrote: >>> On Thursday 04 February 2010, Bernd Schubert wrote: >>>> On Tuesday 02 February 2010, Doug Ledford wrote: >>>>> On 02/02/2010 10:42 AM, Bill Davidsen wrote: >>>>>> Michael Evans wrote: >>>>>> It seems as if a lot of work >>>>>> and overhead is being generated for the applications, just to save= a >>>>>> tiny bit of work for the people implementing a new boot procedure.= >>>>>> >>>>>> (cd /dev .run && find . -depth | cpio -pdm /var/run; cd -; rmdir >>>>>> /dev/.run) >>>> >>>> What about to use "mount --move" from /var/run of the initrams to fi= nal >>>> /var/run before the chroot command? >>> >>> Oops, I meant pivot_root. >> >> Static files in /var/run would be lost that way. >> >=20 > That should be easy using a simple subdir /var/run/mdadm and to mount -= -move=20 > this. Except that /var/run/mdadm doesn't even need moved. Only the mdmon files need this. See my upcoming email for more details. --=20 Doug Ledford GPG KeyID: CFBFF194 http://people.redhat.com/dledford Infiniband specific RPMs available at http://people.redhat.com/dledford/Infiniband --------------enig8A80E8B8FA7675BED33FDCE0 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iEYEARECAAYFAktrBVwACgkQg6WylM+/8ZSDZQCfdBl7XIpjRXFEFIW5o0y6UNKH 6A4AnRL16iSrAOHpHfxNM1l33/majhLJ =Bd4D -----END PGP SIGNATURE----- --------------enig8A80E8B8FA7675BED33FDCE0--