View previous topic :: View next topic |
Author |
Message |
Raniz l33t


Joined: 13 Sep 2003 Posts: 967 Location: Varberg, Sweden
|
Posted: Wed Apr 06, 2005 2:42 pm Post subject: Turning off write buffer for USM-devices |
|
|
I have an iRiver IFP-790t which i use as a Usb Mass Storage device.
Trouble is, when I write to it all files is transferred to the write-buffer (that goes on a few seconds), then it transfers from the write buffer to the device, which takes about 5 minutes.
Is there some way to turn of the buffer, or perhaps set it to a maximum of say, ten bytes?
That way, when I transfer stuff I know it's complete when the transfer is done, not five minutes after... |
|
Back to top |
|
 |
dsd Developer

Joined: 30 Mar 2003 Posts: 2162 Location: nr London
|
Posted: Wed Apr 06, 2005 2:50 pm Post subject: |
|
|
you should always umount the device before unplugging it, and the umount operation will not complete until the buffers are flushed, so this should be enough indication as to when the data is transferred.
alternatively you can disable the buffering by mounting with the sync and dir_sync options _________________ http://dev.gentoo.org/~dsd |
|
Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|