Why is there a difference in the used size between dfc and df -h? $ df -hDateisystem    Gre Benutzt Verf. Verw% Eingehngt auf/dev/sda7        64G     51G   11G   83% /none            4,0K       0  4,0K    0% /sys/fs/cgroupudev            3,9G    4,0K  3,9G    1% /devtmpfs           801M    1,5M  799M    1% /runnone            5,0M       0  5,0M    0% /run/locknone            4,0G    148K  4,0G    1% /run/shm...$ dfcFILESYSTEM  (=) USED      FREE (-) %USED AVAILABLE     TOTAL MOUNTED ON /dev/sda7   [=================---]   83%     10.6G     63.9G /none        [--------------------]    0%      4.0K      4.0K /sys/fs/cgroupudev        [=-------------------]    0%      3.9G      3.9G /devtmpfs       [=-------------------]    0%    798.7M    800.1M /runnone        [--------------------]    0%      5.0M      5.0M /run/locknone        [=-------------------]    0%      3.9G      3.9G /run/shm...I wouldnt round 3.9 up to 4 and then display 4,0 that makes no sense to me.
difference between df -h and dfc
disk usage
It is not simply rounding.  dfc (and di) print the value rounded to the nearest representation in digits, while df rounds up.The question does not specify a version of coreutils; I'm answering based on version 8.13 (in Debian 7), though I see the same result with 8.25.Start with the -h option in df.c:    case 'h':      human_output_opts = human_autoscale | human_SI | human_base_1024;      output_block_size = 1;      break;There is followup code in gnulib's human.c (humblock), where it decides which type of rounding to use.  Because the human-options are not modified, it uses the ceiling rather than floor or rounding to the nearest value.  That is because a zero happens to be the enumeration value for ceiling:  /* Unless otherwise specified these options may be ORed together.  */  /* The following three options are mutually exclusive.  */  /* Round to plus infinity (default).  */  human_ceiling = 0,  /* Round to nearest, ties to even.  */  human_round_to_nearest = 1,  /* Round to minus infinity.  */  human_floor = 2,