Re: [PATCH 0/2] Support for small units in display

2012-07-17 Thread David Sterba
On Mon, Jul 09, 2012 at 05:27:41PM +, Pierre Carrier wrote:
> I didn't test the initial patches enough.
> A second round is coming.

Please indicate the updated version by eg. adding a v2 to the subject of
the cover letter and describe the changes, makes it more clear to
maintainers/reviewers what to look at, thanks.


david
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[PATCH 0/2] Support for small units in display

2012-07-09 Thread Pierre Carrier
I didn't test the initial patches enough.
A second round is coming.

This time it works fine:
devid1 size 66746609664.00 used 66746580992.00 path /dev/sda5
devid1 size 65182236.00KB used 65182208.00KB path /dev/sda5
devid1 size 63654.53MB used 63654.50MB path /dev/sda5
devid1 size 62.16GB used 62.16GB path /dev/sda5
devid1 size 62.16GB used 62.16GB path /dev/sda5


Pierre Carrier (2):
  utils.c: fix sizes in B & malloc in pretty_sizes
  utils.c: offer to limit divisions in pretty_sizes

 utils.c | 17 ++---
 1 file changed, 14 insertions(+), 3 deletions(-)

-- 
1.7.11.1

--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[PATCH 0/2] Support for small units in display

2012-07-09 Thread Pierre Carrier
Allow better inspection of sizes using an environment variable.

Not pretty, but convenient to determine the exact size of a filesystem,
eg when resizing an underlying partition or LUN.

Pierre Carrier (2):
  utils.c: fix sizes in B & malloc in pretty_sizes
  utils.c: offer to limit divisions in pretty_sizes

 utils.c | 18 +++---
 1 file changed, 15 insertions(+), 3 deletions(-)

-- 
1.7.11.1

--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html