[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Running several instances of an fs server...
From: |
Thomas Bushnell, BSG |
Subject: |
Re: Running several instances of an fs server... |
Date: |
23 Jul 2002 10:24:51 -0700 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 |
Fredrik Liljegren <fredrik@liljegren.org> writes:
> Yes, I agree that that's the best solution. I just wanted to point
> out that a scenario could come to exist when two users (or the same,
> senile, user) unknowingly mounts the same device; there should at
> least be something prohibiting it, rather than making the whole
> filesystem broken or even hanging the translators.
In general, Unix (and each of its descendants) does not try and
protect users against such simultaneous use, in user-mode programs.
But it's not unreasonable to use advisory file locking for this
purpose.