Re: Busy on BLKFLSBUF w/initrd

Maciek Nowacki (maciek@Voyager.powersurfr.com)
Fri, 25 May 2001 09:42:45 -0600


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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/