From: Bernd Schubert Subject: Re: [[Patch mdadm] 2/5] Move the files mdmon opens into /dev/ to support handoff after pivotroot Date: Thu, 4 Feb 2010 17:40:18 +0100 Message-ID: <201002041740.19001.bernd.schubert@fastmail.fm> References: <1263242294-5353-1-git-send-email-dledford@redhat.com> <201002041603.37619.bernd.schubert@fastmail.fm> <4B6AEC4C.9060705@redhat.com> Mime-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <4B6AEC4C.9060705@redhat.com> Sender: linux-raid-owner@vger.kernel.org To: Doug Ledford Cc: Bill Davidsen , Michael Evans , Neil Brown , linux-raid@vger.kernel.org List-Id: linux-raid.ids 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 final > >> /var/run before the chroot command? > > > > Oops, I meant pivot_root. > > Static files in /var/run would be lost that way. > That should be easy using a simple subdir /var/run/mdadm and to mount --move this. Cheers, Bernd