How to bypass USB thumb drive "FS queue" in Linux!?!?

This is a discussion on How to bypass USB thumb drive "FS queue" in Linux!?!? within the Tech Board forums, part of the Community Boards category; I have this problem with copying files from my local HD to a USB thumb drive. The computer copies very ...

  1. #1
    Unregistered User Yarin's Avatar
    Join Date
    Jul 2007
    Posts
    1,532

    How to bypass USB thumb drive "FS queue" in Linux!?!?

    I have this problem with copying files from my local HD to a USB thumb drive. The computer copies very fast... but to a temporary folder somewhere on my system (it doesn't say this, though). In fact, it's not even until I go to unmount it that the system actually starts putting data on the thumb drive (and the little led starts flashing to indicate I/O). While it's performing the copying and unmounting, I can go to the System Activity window and see that the process "pdflush" (and one other that I forget at the moment) have a CPU status of "disk sleep" or something like that.

    How can I disable this crappy feature in Fedora 11?
    Thanks
    A class that doesn't overload all operators just isn't finished yet. -- SmugCeePlusPlusWeenie
    A year spent in artificial intelligence is enough to make one believe in God. -- Alan J. Perlis

  2. #2
    Malum in se abachler's Avatar
    Join Date
    Apr 2007
    Posts
    3,189
    Quote Originally Posted by Yarin View Post
    How can I disable this crappy feature in Fedora 11?
    Thanks
    Reformat and install Windows
    Until you can build a working general purpose reprogrammable computer out of basic components from radio shack, you are not fit to call yourself a programmer in my presence. This is cwhizard, signing off.

  3. #3
    Captain Crash brewbuck's Avatar
    Join Date
    Mar 2007
    Location
    Portland, OR
    Posts
    7,158
    Quote Originally Posted by Yarin View Post
    I have this problem with copying files from my local HD to a USB thumb drive. The computer copies very fast... but to a temporary folder somewhere on my system (it doesn't say this, though). In fact, it's not even until I go to unmount it that the system actually starts putting data on the thumb drive (and the little led starts flashing to indicate I/O). While it's performing the copying and unmounting, I can go to the System Activity window and see that the process "pdflush" (and one other that I forget at the moment) have a CPU status of "disk sleep" or something like that.

    How can I disable this crappy feature in Fedora 11?
    Thanks
    It's not using a "temporary folder," this is just normal disk caching. You can mount the USB drive in sync mode, which will cause all writes to the thumb drive to take place immediately. If you are mounting manually, just add "-o sync" to the mount command. If you're using hotplug, how you configure it depends on the distro
    Code:
    //try
    //{
    	if (a) do { f( b); } while(1);
    	else   do { f(!b); } while(1);
    //}

  4. #4
    Unregistered User Yarin's Avatar
    Join Date
    Jul 2007
    Posts
    1,532
    >> Reformat and install Windows
    Actually, Windows does this too, XP specifically, didn't though

    @brewbuck:
    Yes, I knew that what this was called, don't know why I forgot.
    Anyway, the option works, thanks.
    A class that doesn't overload all operators just isn't finished yet. -- SmugCeePlusPlusWeenie
    A year spent in artificial intelligence is enough to make one believe in God. -- Alan J. Perlis

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Newbie problems after first linux install ever...
    By Leeman_s in forum A Brief History of Cprogramming.com
    Replies: 1
    Last Post: 01-24-2003, 02:04 PM
  2. Will linux support this hardware?
    By Leeman_s in forum Linux Programming
    Replies: 0
    Last Post: 01-19-2003, 12:30 PM
  3. Linux - Second Hard Drive
    By MethodMan in forum Tech Board
    Replies: 5
    Last Post: 12-22-2002, 01:46 AM
  4. how to use USB disk in linux ?
    By black in forum Linux Programming
    Replies: 12
    Last Post: 07-15-2002, 11:56 PM
  5. Dead C drive = time to try Linux?
    By Aran in forum A Brief History of Cprogramming.com
    Replies: 8
    Last Post: 04-06-2002, 07:39 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21