Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S266511AbUITNTt (ORCPT ); Mon, 20 Sep 2004 09:19:49 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S266512AbUITNTt (ORCPT ); Mon, 20 Sep 2004 09:19:49 -0400 Received: from hermine.aitel.hist.no ([158.38.50.15]:2820 "HELO hermine.aitel.hist.no") by vger.kernel.org with SMTP id S266511AbUITNTj (ORCPT ); Mon, 20 Sep 2004 09:19:39 -0400 Message-ID: <414EDA10.7050304@hist.no> Date: Mon, 20 Sep 2004 15:24:32 +0200 From: Helge Hafting User-Agent: Mozilla Thunderbird 0.7.3 (X11/20040830) X-Accept-Language: en-us, en MIME-Version: 1.0 To: DervishD CC: Olaf Hering , Andries.Brouwer@cwi.nl, linux-kernel@vger.kernel.org Subject: Re: OOM & [OT] util-linux-2.12e References: <20040920094602.GA24466@suse.de> <20040920105950.GI5482@DervishD> In-Reply-To: <20040920105950.GI5482@DervishD> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1417 Lines: 39 DervishD wrote: > Hi Olaf :) > > * Olaf Hering dixit: > > >>>then /etc/mtab can die. Comments? Better solutions? >>> >>> >>Andries, /etc/mtab is obsolete since the day when /proc/self/mounts was >>introduced. So, kill it today from your mount binary! TODAY. ... >> >> > > Bad idea... ;))) I upgraded my 'mount' yesterday. I was using a >mount from Debian, from 1998 more or less, that worked flawlessly >except for the '--bind' feature and things like those. I used >/etc/mtab as a symlink to /proc/mounts, and all worked OK except for >the double root entry and the need to manually call losetup to delete >unused /dev/loop entries. > > But after the upgrade I no longer could umount a filesystem that >I mounted as 'user', because the device is a symlink and the 'user' >option is not stored in /proc/mounts. So my problems were: > > Using a mtab that is a link to /proc/mounts fails with quota too. Quta tools read /etc/mtab looking for "usrquota" and or "grpquota" mount options. These appear in a normal /etc/mtab but not in /proc/mounts, so the tools gets the mistaken impression that no fs actually use quotas. Helge Hafting - 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/