git: usr.sbin/makefs: Also set UFS di_birthtime when building on Linux

Tomohiro Kusumi tkusumi at crater.dragonflybsd.org
Sun Oct 31 08:48:28 PDT 2021


commit a318d7ce8ac61299d56c159eec1709514389c075
Author: Tomohiro Kusumi <tkusumi at netbsd.org>
Date:   Sun Oct 31 23:45:06 2021 +0900

    usr.sbin/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.
    
    taken from FreeBSD 1e9f67e2e4bcfb5aff72b184b5fce5f1faf3ca68

Summary of changes:
 usr.sbin/makefs/ffs.c | 11 +++++++++--
 1 file changed, 9 insertions(+), 2 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/a318d7ce8ac61299d56c159eec1709514389c075


-- 
DragonFly BSD source repository



More information about the Commits mailing list