lkml.org 
[lkml]   [2001]   [May]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: Busy on BLKFLSBUF w/initrd
On Wed, May 23, 2001 at 06:05:52PM -0400, Alexander Viro wrote:
>
>
> On Wed, 23 May 2001, Maciek Nowacki wrote:
>
> > May 22 09:14:31 wintermute kernel: RAMDISK: romfs filesystem found at block 0
> > May 22 09:14:31 wintermute kernel: RAMDISK: Loading 28216 blocks [1 disk] into ram disk... done.
> > May 22 09:14:31 wintermute kernel: Freeing initrd memory: 28216k freed
> > May 22 09:14:31 wintermute kernel: VFS: Mounted root (romfs filesystem) readonly.
> > May 22 09:14:31 wintermute kernel: Mounted devfs on /dev
> > May 22 09:14:31 wintermute kernel: VFS: Mounted root (romfs filesystem) readonly.
> > May 22 09:14:31 wintermute kernel: change_root: old root has d_count=7
> > May 22 09:14:31 wintermute kernel: Mounted devfs on /dev
> > May 22 09:14:31 wintermute kernel: Trying to unmount old root ... okay
>
> At that point /dev/ram0 _is_ killed.

Really? Because I can still mount it later on without any trouble at all..
after init has started. Hmm, I will try later after running the system for a
while to see if the data is still comprehensible.

> > Perhaps they're bumping up the reference count so that it is impossible to
> > free the ramdisk later?
>
> If you want to keep it until later (i.e. want to destiry it by hands)
> mkdir /initrd on your final root and old one will be remounted there.
> Again, "Trying to unmount old root ... okay" means that it already got
> an equivalent of BKLFLSBUF

Ah, okay.. I assumed this behavior had been removed. I will try this as well.

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.116 / U:0.040 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site