> > > The prescription for symlinks is, if you want them safely on disk you
> > > have to explicitly fsync the containing directory.
> >
> > Yes, and it doesn't matter, since MTAs don't use symlinks (symlinks
> > waste inodes on most systems).
>
> Irrelevant. We're talking about what makes sensible semantics, not
> what assumptions any specific application makes. It makes no sense to
> say that dirsync won't affect symlinks just because some existing
> applications don't rely on that!
It's rather my imagination that tracking hard links might be easier than
symlinks because hard links share the inode number. A more advanced (and
complex) implementation might prove the imagination wrong. I don't want
to consider which one is more efficient.
-- Matthias Andree - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/