nmh-workers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Nmh-workers] What OS/Architecture Do You Run nmh On?


From: Ken Hornstein
Subject: Re: [Nmh-workers] What OS/Architecture Do You Run nmh On?
Date: Fri, 16 Feb 2018 21:10:17 -0500

>I suppose that  depends on the meaning of the  word ``deliver'' and also
>whether or  not the refile  command is moving  message 42 from  the same
>filesystem, or crossing filesystem boundaries.  In the former case, it's
>an  atomic operation,  but in  the latter  case, to  retain the  ``crash
>proof'' nature of Maildir, it would seem that one should ``deliver'' the
>message first into  Maildir/tmp, followed by an atomic  move into either
>Maildir/new or Maildir/cur.

I didn't really get into the details, but absolutely, any nmh Maildir
implementation would certainly have to make sure the move into "cur" was
atomic; obviously if it was the same filesystem rename() would work, but
otherwise a copy into tmp first is the way to go.

--Ken



reply via email to

[Prev in Thread] Current Thread [Next in Thread]