[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 03:09, Nelson Castillo wrote:
> On 5/16/07, Ron Johnson <ron.l.johnson@cox.net> wrote:
>> -----BEGIN PGP SIGNED MESSAGE-----
>> Hash: SHA1
> 
> (cut)
> 
>> 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.
> 
> Perhaps you should use the "sync" option that "mount" provides?

If you read the contents of the link I provided, you'd see why
sync-mounting a vfat device might be a very bad idea.

- --
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)

iD8DBQFGSr+IS9HxQb37XmcRAo8JAKCREyF0Qs74Q8X8t7ikNW2BmxAUFwCgyM1W
880JRfCN5kL+KRXE5qVaClQ=
=0Juc
-----END PGP SIGNATURE-----



Reply to: