Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Sun, 2 Mar 2003 08:50:08 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Sun, 2 Mar 2003 08:50:08 -0500 Received: from daimi.au.dk ([130.225.16.1]:37844 "EHLO daimi.au.dk") by vger.kernel.org with ESMTP id ; Sun, 2 Mar 2003 08:50:07 -0500 Message-ID: <3E620E71.B74C2191@daimi.au.dk> Date: Sun, 02 Mar 2003 15:00:17 +0100 From: Kasper Dupont Organization: daimi.au.dk X-Mailer: Mozilla 4.76 [en] (X11; U; Linux 2.4.18-19.7.xsmp i686) X-Accept-Language: en MIME-Version: 1.0 To: DervishD CC: Miles Bader , Linux-kernel Subject: Re: About /etc/mtab and /proc/mounts References: <20030219112111.GD130@DervishD> <3E5C8682.F5929A04@daimi.au.dk> <20030302125315.GH45@DervishD> Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1016 Lines: 27 DervishD wrote: > > Hi Miles :) > > Miles Bader dixit: > > /var is clearly the right place for this; if /var isn't mounted > > initially, I'd suggest that mount should simply not update any file > > at that point, and the init-script that mounts /var can be > > responsible from propagating information from /proc/mounts to > > /var/whatever. > > In an embedded system I built a time ago, /etc/mtab was first a > symlink to /proc/mounts, but after a while I made it a symlink to > /var/run/mtab. It worked OK, AFAIK. Did mount actually update the mtab file? The version of mount on my system would not. -- Kasper Dupont -- der bruger for meget tid p? usenet. For sending spam use mailto:aaarep@daimi.au.dk for(_=52;_;(_%5)||(_/=5),(_%5)&&(_-=2))putchar(_); - 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/