Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S266333AbUITMC7 (ORCPT ); Mon, 20 Sep 2004 08:02:59 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S266344AbUITMC7 (ORCPT ); Mon, 20 Sep 2004 08:02:59 -0400 Received: from scrub.xs4all.nl ([194.109.195.176]:15016 "EHLO scrub.xs4all.nl") by vger.kernel.org with ESMTP id S266333AbUITMCz (ORCPT ); Mon, 20 Sep 2004 08:02:55 -0400 Date: Mon, 20 Sep 2004 14:02:54 +0200 (CEST) From: Roman Zippel X-X-Sender: roman@scrub.home To: Olaf Hering cc: Andries.Brouwer@cwi.nl, linux-kernel@vger.kernel.org Subject: Re: OOM & [OT] util-linux-2.12e In-Reply-To: <20040920115032.GA21631@suse.de> Message-ID: References: <20040920094602.GA24466@suse.de> <20040920105618.GB24928@suse.de> <20040920112607.GA19073@suse.de> <20040920115032.GA21631@suse.de> 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: 804 Lines: 30 Hi, On Mon, 20 Sep 2004, Olaf Hering wrote: > > $ mount -oloop image /mnt > > > > vs > > > > $ losetup image /dev/loop0 > > $ mount /dev/loop0 /mnt > > > > What should umount do, when called with /mnt? > > I have /dev/loop0 in /proc/mounts, umount does nothing wrong here. What exactly is that "nothing wrong"? > > Relying on any specifc ordering in /proc/mounts is broken. > > Thats most likely true. You could bind mount a mtab file. > This specific case is tricky. This is a rather common case and IMO it can expect a clean solution. bye, Roman - 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/