table of contents
- bookworm 2.1.11-1
- bookworm-backports 2.2.6-1~bpo12+3
- testing 2.2.6-2
- unstable 2.2.6-2
ZFS-DIFF(8) | System Manager's Manual | ZFS-DIFF(8) |
NAME¶
zfs-diff
— show
difference between ZFS snapshots
SYNOPSIS¶
zfs |
diff [-FHth ]
snapshot
snapshot|filesystem |
DESCRIPTION¶
Display the difference between a snapshot of a given filesystem and another snapshot of that filesystem from a later time or the current contents of the filesystem. The first column is a character indicating the type of change, the other columns indicate pathname, new pathname (in case of rename), change in link count, and optionally file type and/or change time. The types of change are:
EXAMPLES¶
Example 1: Showing the differences between a snapshot and a ZFS Dataset¶
The following example shows how to see what has changed between a
prior snapshot of a ZFS dataset and its current state. The
-F
option is used to indicate type information for
the files affected.
#zfs
diff
-F
tank/test@before tank/test M / /tank/test/ M F /tank/test/linked (+1) R F /tank/test/oldname -> /tank/test/newname - F /tank/test/deleted + F /tank/test/created M F /tank/test/modified
SEE ALSO¶
March 16, 2022 | OpenZFS |