On Tuesday 03 April 2007 14:23:28 [EMAIL PROTECTED] wrote:
> emerge --sync makes a call to rsync program ? I did not take the time
> yet to learn more about Gentoo specific softwares, but I will do that
> soon. Look at the sizes format in bytes. Today it often happens -well,
> most of the time- several Mo of download, so the byte unit is not very
> useful but Kb/Mb/Gb units could be a more human readable format. I
> used to deal with --si or -H when using df as an example. By default,
> size unit is byte, but when you want to understand the numbers with no
> mental extra operation, It is quite good to print the more suitable
> unit.

From `man rsync`:
    -h, --human-readable
        Output numbers in a more human-readable format.  This makes big
        numbers output using larger units, with a K, M, or G suffix.  If this
        option was specified once, these units are K (1000), M (1000*1000),
        and G (1000*1000*1000); if the option is repeated, the units are
        powers of 1024 instead of 1000.

So just add PORTAGE_RSYNC_EXTRA_OPTS="--human-readable" to /etc/make.conf.

-- 
Bo Andresen

Attachment: pgpLd14nOMBsd.pgp
Description: PGP signature

Reply via email to