https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=221234

            Bug ID: 221234
           Summary: ZFS diff does not properly display files that have
                    been moved to a new directory.
           Product: Base System
           Version: CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: bin
          Assignee: freebsd-bugs@FreeBSD.org
          Reporter: asom...@freebsd.org

The "zfs diff" command does not properly display a file that has moved to a new
directory.  Instead, it shows a moved file as a modified file.

Steps to reproduce:

# zpool create tank da0
# touch /tank/foo
# mkdir /tank/bar
# zfs snapshot tank@1
# mv /tank/foo /tank/bar/
# zfs snapshot tank@2
# zfs diff tank@1 tank@2
M       /tank/
M       /tank/foo
M       /tank/bar

OpenZFS has already fixed this issue in git revision
aab04418a72c0a29040a5da7eec08efe19dbef04 back in Oct-2015.  We should import it
into FreeBSD.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"

Reply via email to