zfs diff does not report removed files
|Category:||zfs - Zettabyte File System|
Assuming we should expect the same functionality as on Solaris files that are removed between snapshots should be listed with a '-'.
Currently a 'zfs diff' will only show the directory as modified that had a file removed. There will be no listing of the file that was removed.
#6 Updated by B T about 3 years ago
- Status changed from Closed to Feedback
I believe this should be reopened. See this bug in zfsonlinux:
On OI 151a8, the commands below (copied from here ) produce the same incorrect result:
root@host:/% zfs create tank/test root@host:/% cd /tank/test root@host:/tank/test% touch a root@host:/tank/test% zfs snapshot tank/test@1 root@host:/tank/test% zfs snapshot tank/test@2 root@host:/tank/test% rm a root@host:/tank/test% zfs diff tank/test@1 M /tank/test/ - /tank/test/a root@host:/tank/test% zfs diff tank/test@2 M /tank/test/ root@host:/tank/test%
Also available in: Atom