From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Fri, 25 May 2001 11:43:08 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Fri, 25 May 2001 11:42:58 -0400 Received: from voyager.powersurfr.com ([24.109.67.8]:43538 "EHLO unity.starfire") by vger.kernel.org with ESMTP id ; Fri, 25 May 2001 11:42:51 -0400 From: Maciek Nowacki Date: Fri, 25 May 2001 09:42:45 -0600 To: Scott Murray Cc: linux-kernel@vger.kernel.org Subject: Re: Busy on BLKFLSBUF w/initrd Message-ID: <20010525094245.A858@wintermute.starfire> In-Reply-To: <20010524123943.A797@wintermute.starfire> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.17i In-Reply-To: ; from scott@spiteful.org on Fri, May 25, 2001 at 01:20:00AM -0400 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org On Fri, May 25, 2001 at 01:20:00AM -0400, Scott Murray wrote: > On Thu, 24 May 2001, Maciek Nowacki wrote: > > > This method depends on the change_root() mechanism which I had assumed is > > becoming obsolete. It works, and there is no need to mess with > > /proc/sys/kernel/real_root_dev if the root is specified on the command line. > > Trying to use only pivot_root did not work as /dev/rd/0 could never be > > flushed (see previous messages in this thread). > > I was having similiar problems a few months back. I was also trying > to pivot_root out of an initial ramdisk and then unmount it. I got it > working, but kept forgetting to post one of the fixes that I found > necessary to make it work when using auto-mounted devfs. > > [patch to init/main.c] Cool, that did it. change_root doesn't occur anymore and BLKFLSBUF clears things out of memory without any muckage. I will add this one to my patch directory. Thanks! Maciek