Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Mon, 19 Mar 2001 18:44:20 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Mon, 19 Mar 2001 18:44:11 -0500 Received: from kweetal.tue.nl ([131.155.2.7]:58916 "EHLO kweetal.tue.nl") by vger.kernel.org with ESMTP id ; Mon, 19 Mar 2001 18:44:01 -0500 Message-ID: <20010320004317.A1414@win.tue.nl> Date: Tue, 20 Mar 2001 00:43:17 +0100 From: Guest section DW To: Torrey Hoffman , "'Jeremy Jackson'" , root@chaos.analogic.com Cc: linux-kernel@vger.kernel.org Subject: Re: on /etc/mtab vs. /proc/mounts In-Reply-To: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.93i In-Reply-To: ; from Torrey Hoffman on Mon, Mar 19, 2001 at 03:05:55PM -0800 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Mar 19, 2001 at 03:05:55PM -0800, Torrey Hoffman wrote: > In fact, the "mount" man page on my Mandrake 7.2 system says: > > "It is possible to replace /etc/mtab by a symbolic link to > /proc/mounts..." and then goes on to describe some of the issues and > problems with doing so - loopback, and paths with spaces seem to > be the significant ones. The spaces part was fixed in patch-2.4.0-test7. Today there is a different flaw again: After "mount --bind somedir mountpoint" there is no indication of somedir in /proc/mounts. Andries - 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/