[Bug 221234] ZFS diff does not properly display files that have been moved to a new directory.

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri Aug 4 22:54:10 UTC 2017


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 at FreeBSD.org
          Reporter: asomers at 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 at 1
# mv /tank/foo /tank/bar/
# zfs snapshot tank at 2
# zfs diff tank at 1 tank at 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.


More information about the freebsd-bugs mailing list