On Mon, Jul 09, 2012 at 05:30:21PM +0000, Pierre Carrier wrote: > Dirty hack to allow inspection of sizes in lower units. A commandline option would suit better IMHO. If this is a one-shot task to find the sizes expressed with a different multiplier, then I don't understhand the env variable approach. If it's meant to express all size-related numbers with a given multiplier, than it could make sense, but it has to be well documented and possibly a better variable name picked. Hugo referenced one of his patches, http://www.mail-archive.com/linux-btrfs@xxxxxxxxxxxxxxx/msg06518.html that adds -h or -H (1024-based and SI-based), but that does not fix the problem that you want to se a specific size. So, I'm suggesting a generic option --units=PFX where PFX can be arbitrary from KB, KiB and the rest of the list. Plus a way to include the human-readable forms, both 1024- and SI-based. david -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html
