diff options
author | mckusick <mckusick@FreeBSD.org> | 2011-10-11 19:03:57 +0000 |
---|---|---|
committer | mckusick <mckusick@FreeBSD.org> | 2011-10-11 19:03:57 +0000 |
commit | 42aa10a9a139809533ee7832f9cdecc8bead877d (patch) | |
tree | 2cf2820bd629b7f045a1ae386df707851929883d /usr.bin/ktrace | |
parent | b6c294da1b26f52993b47e80e6d245b2a0cb1dad (diff) | |
download | FreeBSD-src-42aa10a9a139809533ee7832f9cdecc8bead877d.zip FreeBSD-src-42aa10a9a139809533ee7832f9cdecc8bead877d.tar.gz |
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
Diffstat (limited to 'usr.bin/ktrace')
0 files changed, 0 insertions, 0 deletions