Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 129771 - coreutils-5.94-r1 -- mv sometimes shows a progress bar w/out using -g
Summary: coreutils-5.94-r1 -- mv sometimes shows a progress bar w/out using -g
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-04-12 23:12 UTC by Jack Browning
Modified: 2006-05-07 02:20 UTC (History)
1 user (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 Jack Browning 2006-04-12 23:12:39 UTC
After emerging coreutils-5.94-r1 without incident, I noticed unusual output from mv when I moved a directory of a number of large files on one disk to a directory on another disk, i.e., a move across filesystems. Instead of silently moving the files like every version of mv I've used in the past five years, mv emitted what appeared to be progress information for *some* of the files being transferred. It looked like this:

jack@asus - 21:00:01 - [ ~ ]
3-0-512 $> mv /dead/unfiled/gd77-05-11.32274 /dead/filed/1977
770511107.mp3                                        | 100% |     9 MiB |  3580 KiB/s | ETA 00:00.01
770511104.mp3                                        | 100% |    12 MiB |  8432 KiB/s | ETA 00:00.00
770511109.mp3                                        | 100% |  7133 KiB |   228 KiB/s | ETA 00:00.30
770511301.mp3                                        | 100% |    14 MiB |  3720 KiB/s | ETA 00:00.02
770511210.mp3                                        | 100% |    12 MiB |  3316 KiB/s | ETA 00:00.03
770511201.mp3                                        | 100% |  5343 KiB |  1508 KiB/s | ETA 00:00.02
770511206.mp3                                        | 100% |  8197 KiB |  1252 KiB/s | ETA 00:00.05

Twenty-six files were moved, but only seven had progress information displayed. Is this a feature or a bug? Like I said, I've been using mv in exactly this way for years, and this is the first time I've ever seen it exhibit this behavior. This behavior is reproducible, but the files for which progress information is displayed seem to change with each transfer.
Comment 1 SpanKY gentoo-dev 2006-04-13 06:28:20 UTC
it's a bug ... the progress bar should *only* show up when using -g
Comment 2 SpanKY gentoo-dev 2006-05-06 00:36:04 UTC
well, according to original author, this is by design ... but i consider it a bug so i'll clean up the code ;)
Comment 3 SpanKY gentoo-dev 2006-05-07 02:20:07 UTC
ive cleaned up the patch in 5.94-r3 ... give it a spin please