On Tue, Feb 1, 2011 at 3:37 PM, Andreas Dilger <adilger@xxxxxxxxx> wrote: > On 2011-02-01, at 12:18, Lukas Czerner wrote: >> +Optionally, the >> +.I filesystem-size >> +parameter may be suffixed by one of the following the units >> +designators: 'b', 's', 'K', 'M', or 'G', >> +for blocks count, 512 byte sectors, kilobytes, megabytes, or gigabytes, >> +respectively. > > My reading of parse_num_blocks() shows that 'T' is also accepted as a suffix for terabytes, which I was otherwise going to suggest be added, since this is the normal size for filesystems today. It might be worthwhile _briefly_ mentioning here that these are binary/power-of-two values and not decimal values, instead of the rant further below. > > Minor technical nit - the proper metric value is lower-case 'k' for kilo, though the upper-case 'M', 'G', and 'T' are correct for mega-, giga-, and terabytes. <pedantic> If they are powers of 2, they are: kibibytes, mebibytes, gibibytes, and tebibytes. See the chart on the right of: http://en.wikipedia.org/wiki/Kibibyte Many linux tools have already moved to these names and abbreviations. (TiB not TB, etc.) <\pedantic> Greg -- To unsubscribe from this list: send the line "unsubscribe linux-ext4" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html