DOC2000 write speed

Holger Friedrich friedrich at
Wed Aug 29 11:29:45 EDT 2001

Hi all,
We need to figure out how much time it takes to write a file of a
specified size to the DOC. So I mounted it sync and did a 'time
scriptfile', where scriptfile is a shell script, which copies the file a
hundred times from ramdisk to DOC. When I wrote to a floppy disk the
same way I found that despite mounting it sync the floppy LED would not
come on while the script was running, although it took longer than
writing to DOC. It would only come on when doing sync or unmount. So I
guess I either can't trust the sync option or the floppy LED. In the
first case my results are bogus at least for the floppy and probably for
the DOC, too.
Any ideas how to force an immediate write?
Thanx in advance Holger

More information about the linux-mtd mailing list