Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Thu, 28 Feb 2002 08:49:59 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Thu, 28 Feb 2002 08:47:32 -0500 Received: from atrey.karlin.mff.cuni.cz ([195.113.31.123]:38415 "EHLO atrey.karlin.mff.cuni.cz") by vger.kernel.org with ESMTP id ; Thu, 28 Feb 2002 08:45:07 -0500 Date: Thu, 28 Feb 2002 14:44:55 +0100 From: Pavel Machek To: Davidovac Zoran Cc: Alexander Viro , kernel list Subject: Re: /proc/mounts: two different loop devices mounted on same mountpoint?! Message-ID: <20020228134455.GA28490@atrey.karlin.mff.cuni.cz> In-Reply-To: <20020228095948.GG774@elf.ucw.cz> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.3.24i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Hi! > I think that is normal behaviour in 2.4.X > that one can mount more than once > on same mount point. But two different devices? What's the semantics, then? > > Hi! > > > > Kernel 2.4.17: > > > > pavel@amd:~/misc$ cat /proc/mounts > > /dev/root / ext2 rw 0 0 > > /dev/hda3 /suse ext2 rw 0 0 > > none /proc proc rw 0 0 > > none /proc/bus/usb usbdevfs rw 0 0 > > /dev/cfs0 /overlay coda rw 0 0 > > /dev/loop0 /mnt ext2 rw 0 0 > > /dev/loop1 /mnt ext2 rw 0 0 > > pavel@amd:~/misc$ > > > > Both /dev/loop0 *and* /dev/loop1 mounted on /mnt at same time? Oops? > > What's the semantics of that? [And I guess it should not be allowed) Casualities in World Trade Center: ~3k dead inside the building, cryptography in U.S.A. and free speech in Czech Republic. - 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/