[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Preventing delayed USB writes



On 15 May 2007 09:34:05 -0700
pedxing <pedxing@gmail.com> wrote:

> Lenny AMD64.
> 
> When I write to a USB device (stick or mp3 player), I notice that
> the writes appear to happen quickly, but actually take a long time to
> complete.  I assume there is some form of caching going on.
> 
> To be safe, I issue a sync command from a terminal and wait for it
> (up to 15 minutes!) to complete before unmounting the drive.
> 
> Is there any way to prevent the caching from occuring?  I would like
> to configure things so that, for instance, when I (ok, actually my
> wife) use konqueror to copy songs to my mp3 player, when the copy
> dialog says 100%, I can immediately unmount the device without
> having to wait for a delayed write.
> 
> I have looked at the mount man page, but it says the sync option
> (which I think is what I want) is only available for ext2/3 and ufs
> file systems.

The man page may be wrong [0] - and beware of damaging the flash stick!
 
> -Ped

[0] http://readlist.com/lists/vger.kernel.org/linux-kernel/22/111748.html

Celejar
--
mailmin.sourceforge.net - remote access via secure (OpenPGP) email
ssuds.sourceforge.net - A Simple Sudoku Solver and Generator



Reply to: