Bug 235832 - Add "-r" (recursive) option to zfs diff
Summary: Add "-r" (recursive) option to zfs diff
Status: Open
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: 2019-02-18 21:57 UTC (History)
0 users

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?