Bug 235832 - Add "-r" (recursive) option to zfs diff
Summary: Add "-r" (recursive) option to zfs diff
Status: Closed Not Accepted
Alias: None
Product: Base System
Classification: Unclassified
Component: kern (show other bugs)
Version: 11.2-RELEASE
Hardware: Any Any
: --- Affects Some People
Assignee: freebsd-fs (Nobody)
URL:
Keywords: feature, needs-patch
Depends on:
Blocks:
 
Reported: 2019-02-18 09:46 UTC by Stilez
Modified: 2022-07-31 19:25 UTC (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.