Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  Search this Thread
Old 01-20-2010, 10:39 AM   #1
LQ Newbie
Registered: Sep 2009
Distribution: Slackware
Posts: 3

Rep: Reputation: 0
No transfer process shown during USB transfer

Am using Slackware 13.0, and whenever i trasfer my files to USB, like copy or cut and paste, it will show as if file transfered in an instant, like click paste and poof.. the whole 1 gig file transferred in one second, and it wont show dialog box of transfer process, and then i have to predict some minutes and wait (till the transfer actually finishes, i have to usually see my USB's transfer indicator light), if i plug out before or my prediction goes wrong, i end up with corrupted files.
This aint related to window manager, as same is case for KDE and XFCE
tried thunar, konqueror, midnight commander, all of em resulted with same problem

Any idea what can be causing it?
Old 01-20-2010, 05:02 PM   #2
Senior Member
Registered: May 2004
Distribution: Slackware14.2 64-Bit Desktop, Devuan 2.0 ASCII Toshiba Satellite Notebook
Posts: 2,633

Rep: Reputation: 722Reputation: 722Reputation: 722Reputation: 722Reputation: 722Reputation: 722Reputation: 722
Sounds like some kind of a delay in writing? I don't know yet just speculating. Also, have you tried to see if the same kind of behavior exists while copying or moving a file under the command line?

Usually also when I am copying a file to a USB stick, or even when I would copy to a floppy (back in the day) I would always issue the sync command right after the copy or move command. Typically as a string cp file_or_dir && sync.

If however the behavior is the same, it might be a DMA issue perhaps.
Old 01-20-2010, 06:49 PM   #3
Senior Member
Registered: Mar 2005
Location: USA
Distribution: Slackware
Posts: 1,133
Blog Entries: 6

Rep: Reputation: 223Reputation: 223Reputation: 223
It's called write cache. The default policy when mounting external drives (USB Flash drives included) is to mount them in async mode. This allows the appeareance of faster writes. The OS buffers the file(s) to RAM, then writes from RAM to the drive.

You can choose "Safely Remove ..." from Dolphin by right-clicking on the devices icon. Once the transfer is done, the device will unmount. This can be verified by the icon status in Dolphin. When it is mounted there is a slider underneath the icon that shows the space usage. When the drive is unmounted (safe to remove) hovering over the icon displays no status slider.

Last edited by disturbed1; 01-20-2010 at 06:50 PM.
1 members found this post helpful.
Old 01-21-2010, 08:15 AM   #4
Senior Member
Registered: Oct 2003
Location: Northeastern Michigan, where Carhartt is a Designer Label
Distribution: Slackware 32- & 64-bit Stable
Posts: 3,541

Rep: Reputation: 1060Reputation: 1060Reputation: 1060Reputation: 1060Reputation: 1060Reputation: 1060Reputation: 1060Reputation: 1060
As disturbed1 says, it's the write cache and, well, writing to USB sticks is slow. Also, as disturbd1 suggests, doing the "Safely Remove" trick is a good one. Just to go a little further, writing to anything is going to be cached (yup, your hard disk writes are cached, too) and one thing you can do is to execute sync on a command line to "flush the buffers;" i.e., execute the cp to your USB stick then immediately execute sync. sync won't return a prompt until everything is written to the stick and you'll know it's done.

If you let your system run for a while where you're doing a bunch of read-write operations on files then execute sync you'll probably notice that it takes a while for the prompt to return; if you then immediately execute sync again, it'll come back almost instantly (because the I/O buffers have been flushed). As an experiment, find something big, say 500M or so, and copy it to another disk partition then execute sync right away followed by another sync.
Old 01-23-2010, 03:21 PM   #5
LQ Newbie
Registered: Sep 2009
Distribution: Slackware
Posts: 3

Original Poster
Rep: Reputation: 0
yeah, at commandline its the same

well, the sync works fine, but havent it would been better if it had a transfer process shown? like a dialog box with time remaining?

(Ah.. sorry for late reply, was away from PC for a while)

Last edited by mad.slacker; 01-23-2010 at 03:22 PM. Reason: Grammar
Old 01-23-2010, 04:30 PM   #6
Senior Member
Registered: Mar 2005
Location: Kentucky
Distribution: Slackware64-current
Posts: 1,502

Rep: Reputation: 219Reputation: 219Reputation: 219
In KDE, look to the Sys-Tray for the "i" icon next to the clock. During a transfer, dots will be circling the eye. If you click on the eye, a little black box will show up showing the transfer with a progress bar. This also works for right-clicking on a large tarball and selecting Extract-wherever, such as a kernel tarball. It will show the extraction progress. Fun if you like to watch progress bars.
Old 01-23-2010, 04:48 PM   #7
LQ Newbie
Registered: Sep 2009
Distribution: Slackware
Posts: 3

Original Poster
Rep: Reputation: 0
hmm, but what do i do if i want to do that in XFCE? or command line?


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Sony PSP file transfer inaccurate transfer progress stratotak Linux - Newbie 3 01-02-2010 04:49 AM
Music transfer software for MP3 players using Media Transfer Protocol commandante Linux - Software 2 06-27-2007 12:09 AM
USB key transfer generalachoo Linux - Software 5 11-02-2006 10:43 AM
Install on USB to transfer to another HD cosmo289 Mandriva 6 06-21-2006 09:46 PM
USB Blocking PC on transfer MBH Linux - Hardware 2 05-27-2006 04:00 PM > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 11:30 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration