Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Thu, 27 Mar 2003 16:48:23 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Thu, 27 Mar 2003 16:48:23 -0500 Received: from borderworlds.dk ([62.79.110.124]:8977 "HELO klingon.borderworlds.dk") by vger.kernel.org with SMTP id ; Thu, 27 Mar 2003 16:48:22 -0500 To: Ken Moffat Cc: linux-kernel@vger.kernel.org Subject: Re: / listed twice in /proc/mounts References: From: Christian Laursen Date: 27 Mar 2003 22:59:22 +0100 In-Reply-To: Message-ID: User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1007 Lines: 28 Ken Moffat 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/