lkml.org 
[lkml]   [2003]   [Mar]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: / listed twice in /proc/mounts
From
Date
Ken Moffat <ken@kenmoffat.uklinux.net> writes:

> On 27 Mar 2003, Christian Laursen wrote:
>
> > The other day, I upgraded the components of a software package
> > that I maintain, including updating the kernel from 2.4.18 to
> > 2.4.20.
> >
> > I noticed something strange: / is now listed twice in /proc/mounts
> > like this
> >
> > rootfs / rootfs rw 0 0
> > /dev/root / ext2 rw 0 0
> >
> > It confused one of my scripts, so I had to implement a quick workaround.
> >
> > Is this a feature or a bug?
> >
>
> Is your /etc/mtab a symlink to /proc/mounts ? That is generally
> thought not to be a good idea.

No, I'm running in a minimal environment without all the normal stuff,
so there isn't even an /etc/mtab.

--
Best regards
Christian Laursen
-
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:34    [W:0.048 / U:3.124 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site