lkml.org 
[lkml]   [2001]   [May]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: Busy on BLKFLSBUF w/initrd
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/

\
 
 \ /
  Last update: 2005-03-22 12:53    [W:0.048 / U:5.560 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site