Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Sun, 14 Oct 2001 17:50:26 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Sun, 14 Oct 2001 17:50:06 -0400 Received: from leibniz.math.psu.edu ([146.186.130.2]:38650 "EHLO math.psu.edu") by vger.kernel.org with ESMTP id ; Sun, 14 Oct 2001 17:50:05 -0400 Date: Sun, 14 Oct 2001 17:50:22 -0400 (EDT) From: Alexander Viro To: Andreas Gietl cc: linux-kernel@vger.kernel.org, =?iso-8859-1?q?Kr=E4mer?= , =?iso-8859-1?q?K=FChne?= Subject: Re: fs mounted twice, writing to wrong partition with 3ware escalade ide-raid In-Reply-To: Message-ID: 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 On Sun, 14 Oct 2001, Andreas Gietl wrote: > a strace on the mount command shows that the syscall mount is executed w/o > error. > > mount("/dev/sda5", "/mnt/", "ext2", 0xc0ed0000, 0) = 0 > > As far as i know it should return EBUSY on a fs that is already mounted. No, it shouldn't. HOWEVER, trees should be in sync (actually, there's only one tree and only one superblock). > Second mystery: > > the mounted /dev/hda3 contains the same data as /dev/sda5 and changes to one > of them affect both partitions. Please, post your /proc/mounts. Results of ls -l /dev/hda3 /dev/sda5 would also be very interesting. - 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/