lkml.org 
[lkml]   [2002]   [Apr]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: 2.4.19-pre7: rootfs mounted twice
On Fri, 26 Apr 2002, Alexander Viro wrote:

>
>
> On Fri, 26 Apr 2002, Pavel Machek wrote:
>
> > > does statfs("/", &buf); for both. Surprise, surprise, results of
> > > two calls of statf2(2) are identical - what with arguments being
> > > the same both times - and refer to the filesystem where your "/"
> > > lives. I.e. to ext3.
> >
> > df might be wrong, but lets say that this /proc/mounts become
> > interesting. This could not have happened in the past. That means you
>
> This _could_ happen in past - as the matter of fact, I can reproduce it
> on any 2.4 kernel. Mount something over the root of already mounted
> filesystem and watch the show.
>
> Now, we could disable showing rootfs in /proc/mounts and it might be a
> good idea for 2.4, I'm not all that sure that it's a right thing, though.


This happens all the time if you use initrd ramdisk and switch to hard
disk during boot up.

2.4.19-pre6 is ok, but 2.4.19-pre7 is not.

Jeff.



-
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 13:25    [W:0.041 / U:0.032 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site