https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=240640

            Bug ID: 240640
           Summary: zfs send -n -P -i is broken after r344601
           Product: Base System
           Version: 12.0-RELEASE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: bin
          Assignee: b...@freebsd.org
          Reporter: a...@freebsd.org

base r344601 introduced a new feature to update zfs send process title with the
send progress, but at the same time it appears to have broken -n -P combination
of option that's used to estimate a send stream size (while doing a "dry" send)
and to report it in a machine readable form.

On a system without the change:
> $ zfs send -n -v -i testz/test@snap1 testz/test@snap2
> send from @snap1 to testz/test@snap2 estimated size is 2.01M
> total estimated size is 2.01M

> $ zfs send -n -P -i testz/test@snap1 testz/test@snap2
> incremental     snap1   testz/test@snap2        2109424
> size    2109424

On a system with the change:
> $ zfs send -n -v -i testz/test@snap1 testz/test@snap2
> send from @snap1 to testz/test@snap2 estimated size is 2.01M
> total estimated size is 2.01M

> $ zfs send -n -P -i testz/test@snap1 testz/test@snap2
> incremental     snap1   testz/test@snap2

As can be seen, "-n -v" works as before, but "-n -P" is broken.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"

Reply via email to