[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 07:04:20 UTC 2018


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=230851

--- Comment #5 from Ali Abdallah <aliovx at gmail.com> ---
@Conrad I will file a bug against nano. 

@Kirk thanks for looking into this. 

BTW, while I was testing on my test system, I had done the following on a clean
11.2 installation

1) pkg install nano 
2) nano /etc/sysctl.conf modify, save and exit
3) sysctl debug.kdb.panic=1

On the next boot, nano was registered as installed by pkg. But the nano binary
(together with its indexinfo and gettext-runtime files) were not present on
disk. 

I think pkg does not fsync the installed files in this case, right?

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-fs mailing list