Actions
Bug #3668
closedadd "%H" to mdb_printf() for human-readable sizes
Start date:
2013-04-02
Due date:
% Done:
100%
Estimated time:
Difficulty:
Bite-size
Tags:
Gerrit CR:
Description
From the original Joyent bug report:
For OS-1367, we want ::umastat to emit human-readable sizes. Indeed, it's common – or should be – for dcmds to want to print human-readable sizes (e.g., like the output of the the "-h" option to ls/dh/du). It seems natural to add this as an mdb_printf() (and ::printf!) specifier. After some discussion (and some gnashing of teeth over the fact that %S has been taken for so little gain), "%H" was selected as the most appropriate specifier (and is not taken by other printf-like functionality).
Updated by Robert Mustacchi over 9 years ago
- Status changed from New to Resolved
- % Done changed from 90 to 100
Resolved in cab8de142f6f9cba01161c444d3f6bda08561e45.
Actions