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

Re: Preventing delayed USB writes



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 05/16/07 00:49, pedxing wrote:
[snip]
> 
> Ideally, I would be able to turn the buffering off.  It might
> take konq longer to complete the "copy", but at least when it
> said that the copy was complete, the copy would be complete and
> the unmount wouldn't time out.

This is an interesting email:
http://www.uwsg.iu.edu/hypermail/linux/kernel/0505.1/1261.html

What you *could* do is add an entry to root's crontab which runs
sync(1) every 15 or 30 seconds.  That would *mitigate* the usb stick
timeouts, but would sync *all* drives, not just your thumb drive.
And I don't know what deleterious effect that a *possible* 120 or
240 updates/hour to the FAT table of plugged-in sticks would have to
the life of those sticks.

> Somehow windows does this without destroying flash drives, I 
> wonder what the trick is.

Or maybe Windows *does* minimize the life of a thumb drive?

- --
Ron Johnson, Jr.
Jefferson LA  USA

Give a man a fish, and he eats for a day.
Hit him with a fish, and he goes away for good!

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFGSrsrS9HxQb37XmcRAopTAKCEQQLJonO3Dl/vn7ohTpI2kcCk0ACg4Ej9
EFZ+f5HdJhRliDC8bppnsJw=
=kX1a
-----END PGP SIGNATURE-----



Reply to: