public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: linux-kernel@ton.iguana.be (Ton Hospel)
To: linux-kernel@vger.kernel.org
Subject: Re: PROBLEM: multiple mount of devices possible 2.4.0-test1 - 2.4.0-test13-pre4
Date: Sun, 31 Dec 2000 03:18:21 +0000 (UTC)	[thread overview]
Message-ID: <92m8ht$u05$1@post.home.lunix> (raw)
In-Reply-To: <Pine.GSO.4.21.0012301829190.4082-100000@weyl.math.psu.edu>

In article <Pine.GSO.4.21.0012301829190.4082-100000@weyl.math.psu.edu>,
	Alexander Viro <viro@math.psu.edu> writes:
> On Sat, 30 Dec 2000, Ton Hospel wrote:
> 
>> It should still need a special flag or something, since it's
>> impossible for userspace to check this atomically.
> 
> To check _what_? Having the same tree mounted in several places is
> allowed. End of story. Atomicity of any kind is a non-issue - if you
> have processes that do not cooperate and do random mounts you are
> getting exactly what you are asking for.
> 

I wasn't talking about mounting the same device on different mount points.
If you ask for that, it's good that you nowadays you can get that (though
even there it might be a good idea to let the filesystem say if it can
support that or not)

I was talking about avoiding that the same device gets multiple mounted 
at the SAME place, e.g. when doing mount -a, which is often used as a
quick way to get the new entries in /etc/fstab

That would also be no problem if there were a standard about e.g. always
flocking /etc/mtab. But as far as I know there isn't such a standard.
-
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/

  reply	other threads:[~2000-12-31  3:48 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-12-23 17:20 PROBLEM: multiple mount of devices possible 2.4.0-test1 - 2.4.0-test13-pre4 rkreiner
2000-12-23 18:24 ` FEATURE (was " Tigran Aivazian
2000-12-24 19:31   ` FEATURE (was Re: PROBLEM: multiple mount of devices possible2.4.0-test1 " rkreiner
2000-12-23 19:11 ` PROBLEM: multiple mount of devices possible 2.4.0-test1 " Linus Torvalds
2000-12-30 23:04   ` Ton Hospel
2000-12-30 23:57     ` Alexander Viro
2000-12-31  3:18       ` Ton Hospel [this message]
2000-12-31  9:13         ` Andries Brouwer
2000-12-31  3:48       ` PROBLEM: multiple mount of devices possible 2.4.0-test1 - Albert D. Cahalan
2000-12-31  3:58         ` Steve VanDevender
2000-12-31  4:09         ` Alexander Viro

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='92m8ht$u05$1@post.home.lunix' \
    --to=linux-kernel@ton.iguana.be \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox