Bug 235832

Summary: Add "-r" (recursive) option to zfs diff
Product: Base System Reporter: Stilez <stilezy>
Component: kernAssignee: freebsd-fs (Nobody) <fs>
Status: Closed Not Accepted    
Severity: Affects Some People CC: asomers, pat
Priority: --- Keywords: feature, needs-patch
Version: 11.2-RELEASE   
Hardware: Any   
OS: Any   

Description Stilez 2019-02-18 09:46:57 UTC
Imagine a zfs dataset (pool/mydata) with nested datasets (pool/mydata/subdataNNN).

At present one can "snapshot -r pool/mydata" and it'l also snapshot all nested datasets, and I imagine most users with nested datasets would do this.

But to check if anything has changed between snapshots, one cannot do "zfs diff -r pool/mydata". The option is missing. One has to diff each sub-dataset individually, which isn't intuitive or helpful.

Could -r be added to zfs diff?
Comment 1 Alan Somers freebsd_committer freebsd_triage 2022-07-31 19:25:06 UTC
You should raise this at https://github.com/openzfs/zfs
Comment 2 Alan Somers freebsd_committer freebsd_triage 2022-07-31 19:25:54 UTC
Closing the issue because FreeBSD is the wrong place to implement new ZFS features.