[Bug 230851] fsck sets last modified file size to zero on crash on UFS filesystem
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Sat Aug 25 16:08:26 UTC 2018
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=230851
--- Comment #6 from Kirk McKusick <mckusick at FreeBSD.org> ---
(In reply to Ali Abdallah from comment #5)
You are correct that the installed binaries are not being fsync'ed before the
database is being updated (which being database software DOES properly fsync).
I have not looked at pkg, but if it directly does the write itself, it should
do the fsync before it updates the database. It may be that it is running a
shell script that uses the install(1) utility, then it is install that should
be doing the fsync. Obviously, more checking needs to be done.
Thanks for your help in tracking down these issues.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-fs
mailing list