Re: atomic renames on freebsd w/ softupdates, was Re: djblinux?

Laurent Bercot <[email protected]> Thu, 26 Jun 2003 12:23:34 +0200
Newsgroups gmane.comp.djb.package
Message-ID <[email protected]>
> this is a little OT here, but there's one thing bernstein relies on
> which is not entirely true:  atomic renames of files.  for example
> freebsds soft-updates

 <URL: http://cr.yp.to/qmail/faq/reliability.html#filesystems > makes
it clear: do not use softupdates for the qmail queue. Use a filesystem
that strictly conforms to the Unix semantics.

 Neither DJB nor you nor me can guarantee that rename() or anything of
the kind will work properly if the underlying filesystem uses an
unreliable sequence of operations. This is not the software author's
problem - it's the administrator's problem.

-- 
 Ska