git: usr.sbin/makefs/hammer2: Support hardlink creation in "-o R" option

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


commit 2d0322db5ddc74ad1f573fa5144014412d375a15
Author: Tomohiro Kusumi <tkusumi at netbsd.org>
Date:   Sat Jul 1 02:02:10 2023 -0700

    usr.sbin/makefs/hammer2: Support hardlink creation in "-o R" option
    
    which was missing part in 5e8b0eb766966577a1da788053d7ccaa443fa222.
    
    If the underlying file system of destination files doesn't support
    hardlink and/or creation fails, the failure is simply ignored.
    It falls back on previous behavior (create different inodes with the
    same file contents).

Summary of changes:
 usr.sbin/makefs/hammer2.c | 139 +++++++++++++++++++++++++++++++++++++++++++---
 1 file changed, 131 insertions(+), 8 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/2d0322db5ddc74ad1f573fa5144014412d375a15


-- 
DragonFly BSD source repository


More information about the Commits mailing list