HomeFreeBSD

After creating a filesystem using newfs -j the time stamps are all
rS226266Unpublished

Unpublished Commit ยท Learn More

No further details are available.

Description

After creating a filesystem using newfs -j the time stamps are all
zero and thus report as having been made in January 1970. Apart
from looking a bit silly, it also triggers alarms from scripts
that detect weird time stamps. This update sets all 4 (or 3, in
the case of UFS1) time stamps to the current time when enabling
journaling during newfs or later when enabling it with tunefs.

Reported by: Hans Ottevanger <hans@beastielabs.net>
MFC after: 1 week

Details

Provenance
mckusickAuthored on
Parents
rS226265: When unmounting a filesystem always wait for the vfs_busy lock to clear
Branches
Unknown
Tags
Unknown

Event Timeline