Am Samstag, 13. Oktober 2012 schrieb Goffredo Baroncelli: > Hi All, > > several people asked to update the units showed by the "btrfs" tool > form the SI ones (KB, MB, GB...) to the IEC ones (KiB, MiB...). > > The aim of this patch is to allow the user to choice which units > are showed. Depending by the BTRFS_UNIT environmental variable, > the following units are showed: > > BTRFS_UNIT=SI the suffix is KB for 1000bytes, MB for 10^6 bytes... > BTRFS_UNIT=IEC the suffix is KiB for 1024bytes, MiB for 1024 KiB ... > BTRFS_UNIT=COMPACT the suffix is KB for 1024 bytes, MB for 1024 KiB; > no space between the number and the suffix. > > BR > G.Baroncelli What base does this build upon? I tried to apply upon your disk_free branch, but got: martin@merkaba:~/Linux/Dateisysteme/BTRFS/btrfs-progs-unstable> patch -p1 < ../\[PATCH\]\[V1\]\[BTRFS-PROGS\]\ Replace\ the\ units\ from\ KB\ to\ KiB...mbox patching file utils.c Hunk #1 FAILED at 1085. 1 out of 1 hunk FAILED -- saving rejects to file utils.c.rej patching file cmds-filesystem.c Hunk #1 succeeded at 366 (offset 164 lines). patching file cmds-scrub.c patching file man/btrfs.8.in Hunk #1 succeeded at 424 (offset 69 lines). Thanks, -- Martin 'Helios' Steigerwald - http://www.Lichtvoll.de GPG: 03B0 0D6C 0040 0710 4AFA B82F 991B EAAC A599 84C7 -- 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
