Mike Silbersack wrote:
>
> On Tue, 6 Feb 2001, Matt Dillon wrote:
>
> > I did a quick search of the qmail site but couldn't find an email
> > address to report the FAQ issue to. If QMail calls fsync() in a
> > reasonable manner, then softupdates is perfectly safe and the QMail
> > FAQ needs to be updated to recommend softupdates rather then
> > disrecommend it.
> >
> > -Matt
>
> The question still reamins about link/unlink/rename. Is a fsync of the
> directory necessary to ensure that they completed properly? As they take
> filenames instead of fds, an fsync after the operation seems
> non-intuitive. The rename manpage seems to imply that the operation is
> synchronous - the other two are ambiguous.
The link() man page states link()s happen atomically. This is all we
need here. This assures us that we will always have the file in the
new place before we unlink() it in the old place.
--
Andre
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message