[OpenAFS] What happens when...
Derek Atkins
warlord@MIT.EDU
05 Dec 2001 11:54:01 -0500
Corey Kovacs <ckovacs@DEPAUW.EDU> writes:
> Can someone explain, or point me to the right docs to answer the
> following
> question?
>
> Client "A" has a file "file.txt" cached, and client "B" also has acached
> copy of the
> file. User A1 opens the file as does user B1. Now A1 makes a change and
> saves, or
> closes the altogether.
>
> How does the cached manager handle this?
The CM on client B will notice that there is a new file (the file
changed from under it). If you are using an editor like emacs, it
will notice that the file changed on disk and warn the user).
> It seems that the last person the write the file wins, but I wanted to
> make sure.
This is indeed how it works.
> Corey
--
Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
Member, MIT Student Information Processing Board (SIPB)
URL: http://web.mit.edu/warlord/ PP-ASEL-IA N1NWH
warlord@MIT.EDU PGP key available