Under 2.4.0 I can mount same partition twice.

From: Dan Graham (graham@balance.uoregon.edu)
Date: Tue Jan 23 2001 - 14:38:39 EST


Hello;
  I don't know if this is a bug or a feature. While I was
playing around with 2.4.0 I (mistakenly) mounted an ext2
partition twice.

The excerpt from mount looks like this.
/dev/hda1 on /a1 type ext2 (rw)
/dev/hda1 on /mnt type ext2 (rw)

Under 2.2.13 I get

mount: /dev/hda1 already mounted or /mnt busy
mount: according to mtab, /dev/hda1 is mounted on /a1

Is this a bug or a feature?

System is an ABIT VP6, dual PIII 733Mhz, 1gb RAM,
30g ATA 100 drive, IBM Deskstar. DMA is on.

Dan
graham@balance.uoregon.edu

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Tue Jan 23 2001 - 21:00:28 EST