Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 78188 - coreutils 5.2.1-r4: Progress bar of cp wrong for files larger than 2GB
Summary: coreutils 5.2.1-r4: Progress bar of cp wrong for files larger than 2GB
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: AMD64 Linux
: High trivial (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
: 80806 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-01-16 02:11 UTC by Joerg Plate
Modified: 2006-01-25 19:34 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Joerg Plate 2005-01-16 02:11:09 UTC
When coping a large file (e.g. a DVD iso image) cp displays a constant
38 MiB/s until ~50% is reached. After this the ETA: is 00:00:00 and the
speed raises to 4134 MiB/s...


Reproducible: Always
Steps to Reproduce:
1. cp -vg Foo.iso /dev/null





Portage 2.0.51-r12 (default-linux/amd64/2005.0, gcc-3.4.3,
glibc-2.3.4.20041102-r0, 2.6.10-ck4 x86_64)
=================================================================
System uname: 2.6.10-ck4 x86_64 AMD Athlon(tm) 64 Processor 4000+
Gentoo Base System version 1.6.8
Python:              dev-lang/python-2.3.4,dev-lang/python-2.4 [2.4 (#1, Dec 21
2004, 21:22:23)]
ccache version 2.3 [enabled]
dev-lang/python:     2.3.4, 2.4
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.5, 1.8.5-r2, 1.6.3, 1.4_p6, 1.7.9, 1.9.4
sys-devel/binutils:  2.15.92.0.2-r2, 2.15.92.0.2-r1
sys-devel/libtool:   1.5.10-r2
virtual/os-headers:  2.6.8.1-r3
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=athlon64 -pipe -fPIC"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /opt/openjms/config /usr/kde/2/share/config
/usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown
/usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref
/usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS="-O2 -march=athlon64 -pipe -fPIC"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig buildpkg candy ccache distlocks moo sandbox"
GENTOO_MIRRORS="ftp://cs.ubishops.ca/pub/gentoo
ftp://sunsite.ualberta.ca/pub/unix/Linux/gentoo/ ftp://gentoo.risq.qc.ca/
ftp://ftp.ucsb.edu/pub/mirrors/linux/gentoo/ http://mirror.tucdemonic.org/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="acl nls"
Comment 1 Jory A. Pratt 2005-02-04 15:55:25 UTC
Before this can be looked at I do believe -g option on mv and cp has to be looked at it doesnt do any good if you use --progress it seems to work fine.
Comment 2 SpanKY gentoo-dev 2005-02-04 20:48:32 UTC
*** Bug 80806 has been marked as a duplicate of this bug. ***
Comment 3 SpanKY gentoo-dev 2006-01-25 19:34:02 UTC
give 5.93 a try, i tweaked the code a bit to better handle sizes > 32bits