Hello,

The zfs rollback command breaks the expectation of the user about -r
since it does not work recursively on the children as this option does
everywhere else. Also rolback is the only command dealing with snapshots
where there is no way to recursively apply it to the children of the
specified dataset. This should be changed to streamline the rollback
command to the level the others are.

I propose the following:

1. Introduce two new option aliases that are functional identical to -r
and -R on the rollback command (named relating to their function, like
-c for child shapshots and -C for clones and bookmarks) and officially
deprecate use of -r and -R.
2. After reasonable time has passed remove -r and -R from rollback so
unfixed scripts will fail and conversion to the new syntax is forced.
3. Another reasonable time later, long enough that all legacy scripts
can be deemed to be updated, introduce -r to zfs rollback in the
'operate recursively on the child datasets' form as it is used
everywhere else in zfs.

It may take a while to phase out the current syntax but I think for the
long run it is the right way to go.

Thanks for your attention,
Gregor




-------------------------------------------
openzfs-developer
Archives: https://www.listbox.com/member/archive/274414/=now
RSS Feed: https://www.listbox.com/member/archive/rss/274414/28015062-cce53afa
Modify Your Subscription: 
https://www.listbox.com/member/?member_id=28015062&id_secret=28015062-f966d51c
Powered by Listbox: http://www.listbox.com

Reply via email to