View previous topic :: View next topic |
Author |
Message |
ikshaar Veteran
Joined: 23 Jul 2002 Posts: 1339 Location: Baltimore, MD
|
Posted: Wed Apr 23, 2008 7:10 pm Post subject: How to force USB writing ? |
|
|
I admit I don't know anything about kernel and USB so I am not sure if there is a way to do it or not, but is it possible to force USB writing to be done at once and not to wait for when I want to take out my USB key to do it ?
This is especially annoying when I copy a folder with hundreds of small files on my USB key to see the "copying" take already a minute or two ... and then when I try to eject my key another minute or two to do the writing itself !! I can managed to wait for the writing to be done even if it lasts twice longer - but the wait for copying and wait before unmounting does not make sense from a practical point of view.
Any kernel, Gnome, nautilus option to force that behavior ? _________________ "May God stands between you and harm in all the empty places where you must walk" - Babylon 5 |
|
Back to top |
|
|
danomac l33t
Joined: 06 Nov 2004 Posts: 881 Location: Vancouver, BC
|
Posted: Wed Apr 23, 2008 9:49 pm Post subject: |
|
|
I think you'd have to mount the USB key manually with option "-o sync".
You could probably get the automounter to do that, but I've never bothered... |
|
Back to top |
|
|
PaulBredbury Watchman
Joined: 14 Jul 2005 Posts: 7310
|
|
Back to top |
|
|
Sadako Advocate
Joined: 05 Aug 2004 Posts: 3792 Location: sleeping in the bathtub
|
Posted: Wed Apr 23, 2008 10:36 pm Post subject: |
|
|
This isn't really something that bothered me much, but I never knew about this option, so thanks, editing fstab now.
One question though; does it only work with vfat (and similar)?
With reiserfs it fails and I get 'warning: unknown mount option "flush"' in dmesg... _________________ "You have to invite me in" |
|
Back to top |
|
|
timeBandit Bodhisattva
Joined: 31 Dec 2004 Posts: 2719 Location: here, there or in transit
|
Posted: Wed Apr 23, 2008 11:04 pm Post subject: |
|
|
Hopeless wrote: | This isn't really something that bothered me much, but I never knew about this option, so thanks, editing fstab now.
One question though; does it only work with vfat (and similar)?
With reiserfs it fails and I get 'warning: unknown mount option "flush"' in dmesg... | It's specific to FAT filesystems, as noted in the thread (which quoted the kernel release notes). _________________ Plants are pithy, brooks tend to babble--I'm content to lie between them.
Super-short f.g.o checklist: Search first, strip comments, mark solved, help others. |
|
Back to top |
|
|
Sadako Advocate
Joined: 05 Aug 2004 Posts: 3792 Location: sleeping in the bathtub
|
Posted: Wed Apr 23, 2008 11:18 pm Post subject: |
|
|
timeBandit wrote: | Hopeless wrote: | This isn't really something that bothered me much, but I never knew about this option, so thanks, editing fstab now.
One question though; does it only work with vfat (and similar)?
With reiserfs it fails and I get 'warning: unknown mount option "flush"' in dmesg... | It's specific to FAT filesystems, as noted in the thread (which quoted the kernel release notes). | damnit.
/me goes away to learn to read... _________________ "You have to invite me in" |
|
Back to top |
|
|
ikshaar Veteran
Joined: 23 Jul 2002 Posts: 1339 Location: Baltimore, MD
|
Posted: Thu Apr 24, 2008 3:46 pm Post subject: |
|
|
Sounds good. Thanks.
Small follow up that was not clearly answered in other thread is how to make that flush the default. Apparently KDE has it on by default (if response was correct) but not Gnome. I use several external hard drives all the time, so my USB stick never get the same /dev/sdX so a fstab line is impossible to set up. I am looking at automount now but not sure if that will do it. _________________ "May God stands between you and harm in all the empty places where you must walk" - Babylon 5 |
|
Back to top |
|
|
|