On 7 September 2016 at 11:45, Gregor Kopka
<[email protected]> wrote:
> 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.

There really is no "reasonable length of time" for phase 2 or 3 of
this plan.  The "zfs" and "zpool" commands are a committed, documented
interface, which people are allowed (and encouraged!) to depend on.

It's unfortunate when design decisions get made that turn out to be
suboptimal in hindsight, but these are lessons to be observed when
making future design decisions rather than opportunities to make
breaking changes.


Cheers.

-- 
Joshua M. Clulow
UNIX Admin/Developer
http://blog.sysmgr.org


-------------------------------------------
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