]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
makefs: Also set UFS di_birthtime when building on Linux
authorarichardson <arichardson@FreeBSD.org>
Fri, 15 Nov 2019 18:34:30 +0000 (18:34 +0000)
committerarichardson <arichardson@FreeBSD.org>
Fri, 15 Nov 2019 18:34:30 +0000 (18:34 +0000)
commit91e3442099b32a88a431ae1a6baa5e251cfa3933
treed5d5147c96d1cdf4a924b574d1e3c25fb946ccd0
parenta425f240baac8d0822664fb3356669f1c1e71059
makefs: Also set UFS di_birthtime when building on Linux

Since st_birthtime doesn't exists on Linux (unless you use statx(2)), we
instead populate it with the st_ctime value.

Reviewed By: emaste
Differential Revision: https://reviews.freebsd.org/D22386
usr.sbin/makefs/ffs.c