Re: 2.4.9-ac1/2/3 allows multiple mounts of NFS filesystem on same mountpoint

Kevin P. Fleming (kevin@labsysgrp.com)
Thu, 30 Aug 2001 21:24:47 -0700


I was expecting it to be an error, but I'm not upset that it's not. Just
kind of weird to see five mounts with the exact same information in
/etc/mtab.

I can see why it would be useful to have multiple things mounted on the same
mountpoint, but is there any reason to allow the _same_ filesystem to be
mounted multiple times at the same mountpoint?

----- Original Message -----
From: "Trond Myklebust" <trond.myklebust@fys.uio.no>
To: "Kevin P. Fleming" <kevin@labsysgrp.com>
Cc: <linux-kernel@vger.kernel.org>
Sent: Thursday, August 30, 2001 12:12 PM
Subject: Re: 2.4.9-ac1/2/3 allows multiple mounts of NFS filesystem on same
mountpoint

> >>>>> " " == Kevin P Fleming <kevin@labsysgrp.com> writes:
>
> > Accidentally <G> I mounted a filesystem from my server onto my
> > workstation twice. Mount gave me no error....
>
> That's right. The 2.4 VFS removed the global restriction on the number
> of mounts on a single mountpoint. So?
>
> If people expect this to be an error, then the correct thing is for
> the VFS restriction to be reinstated. I see no reason why it should be
> the responsibility of the filesystem to check for this sort of
> thing. A mountpoint is after all the one place where the VFS is
> actually *designed* to override the filesystem.
>
> Cheers,
> Trond
>
>
>

-
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/