[Bug 225993] [PATCH] mfiutil: show progress command could be more user-friendly/consistent

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sat Feb 17 21:18:44 UTC 2018


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

            Bug ID: 225993
           Summary: [PATCH] mfiutil: show progress command could be more
                    user-friendly/consistent
           Product: Base System
           Version: 11.1-RELEASE
          Hardware: Any
                OS: Any
            Status: New
          Keywords: patch
          Severity: Affects Some People
          Priority: ---
         Component: bin
          Assignee: freebsd-bugs at FreeBSD.org
          Reporter: yaneurabeya at gmail.com
          Keywords: patch

Created attachment 190740
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=190740&action=edit
Improved "show progress" patch

I had to recently build a mfi volume member after a drive died, and I had to
noticed that the output from "mfiutil show progress" was inconsistent on my
11.1-RELEASE machine.

The attached patch improves the time output to match the second (completion)
time format, resulting in a more consistent, user-friendly experience.

Sidenotes: the attached patch sorts the #includes as well because it didn't
conform to style(9).

Example output after the patch:

$ sudo mfiutil show progress
drive  4 Rebuild: 83.34% complete after 13:11:13. Completion ETA: 2:38:12

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list