Re: [PATCH] for lost mail due to NFS cache/locking non-atomici=

Jamie Lokier (
Mon, 30 Nov 1998 23:41:28 +0000

On Mon, Nov 30, 1998 at 11:57:03AM +0100, Olaf Titz wrote:
> Storing mail in the home directory has a number of advantages
> independent of the mailbox format used

... but one big disadvantage, if you have different home directories on
different machines. If you have the same home directory on different
machines, it's likely to be NFS mounted. -> same problem with locking
etc., but less likely that you're doing operations on different
machines simultaneosly.

> But the traditional mailbox format and especially the ELM way of
> rewriting it can't be NFS safe.

Why not, if it locks the file and all parties use the same locking protocols?
I appreciate that locking does not always have the right effect. Hence
my recent patch to resync the cache when a file is locked.

> A bit better is emacs or MH which always empty the mailbox file and do
> the processing in their own storage space.

I think this is only better if the mailbox file is renamed so that
further deliveries create a new file. Does Emacs do this?

-- Jamie

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
Please read the FAQ at