Subject: Re: [Fwd: Re: SOFTDEPS safe for qmail?]
To: Kirk McKusick <mckusick@mckusick.com>
From: Robert Elz <kre@munnari.OZ.AU>
List: current-users
Date: 06/18/2000 04:13:31
    Date:        Sat, 17 Jun 2000 09:47:39 -0700
    From:        Kirk McKusick <mckusick@mckusick.com>
    Message-ID:  <200006171647.JAA08436@beastie.mckusick.com>

  | Ethan Solomita forwarded this message to me and asked that I comment.

Thanks (both of you).

  | The fsync system call guarantees that the contents of a file and any
  | and all names that reference it as well as all directories above those
  | names to the root of the filesystem have been sync'ed to disk.

OK, that certainly makes it clear enough - fsync() has obviously
changed since I looked at it last (long long ago).

To those who care (NetBSD people), fsync(2) should probably be updated,
so it is made clear just what is being done (in my book at least, file
names are not attributes of a file descriptor..., let alone the rest of the
directory tree).   More than just for accuracy of the documentation,
this is important as a reminder to those who come after of just what
they have to maintain.

kre