2

I am reviewing ZFS snapshots to determine if there is any data that I accidentally deleted, but I see a path is BOTH added and removed within the same diff. What does it mean for a path to be both added and removed?

winston@silo ~ $ sudo zfs diff -F naspool/data/syncthing/folders@2024-10-30_backup naspool/data/syncthing/folders | grep -F files/notes/me.org
-       F       /mnt/data/syncthing/folders/files/notes/me.org
+       F       /mnt/data/syncthing/folders/files/notes/me.org

(The path still exists.)

winston@silo ~ $ stat /mnt/data/syncthing/folders/files/notes/me.org
  File: /mnt/data/syncthing/folders/files/notes/me.org
  Size: 5469            Blocks: 18         IO Block: 5632   regular file
Device: 0,56    Inode: 141598      Links: 1
Access: (0644/-rw-r--r--)  Uid: ( 1000/ winston)   Gid: (  237/syncthing)
Access: 2025-02-02 02:47:00.308380589 -0600
Modify: 2025-01-29 23:08:59.118047979 -0600
Change: 2025-01-29 23:09:09.676373284 -0600
 Birth: 2025-01-29 23:09:09.432375562 -0600
Winny
  • 478

0 Answers0