git: usr.sbin/makefs/hammer2: Support inode timestamp in "-o R" option

Tomohiro Kusumi tkusumi at crater.dragonflybsd.org
Sun Jul 2 02:16:36 PDT 2023


commit 6da97f51504a575acd558f21089e0b2bcfbe8b37
Author: Tomohiro Kusumi <tkusumi at netbsd.org>
Date:   Sat Jul 1 01:12:51 2023 -0700

    usr.sbin/makefs/hammer2: Support inode timestamp in "-o R" option
    
    which was missing part in 5e8b0eb766966577a1da788053d7ccaa443fa222.
    
    Get timestamp from source inode within image file, and use that to
    update newly created directory and regular file.
    
    If the underlying file system of destination files doesn't support
    timestamp and/or updating fails, the failure is simply ignored.

Summary of changes:
 usr.sbin/makefs/hammer2.c              | 15 +++++++++++++++
 usr.sbin/makefs/hammer2/hammer2.h      |  1 +
 usr.sbin/makefs/hammer2/hammer2_subr.c | 11 +++++++++++
 3 files changed, 27 insertions(+)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/6da97f51504a575acd558f21089e0b2bcfbe8b37


-- 
DragonFly BSD source repository


More information about the Commits mailing list