The following file names are taken to mean the standard input: -, 0, or stdin.
The following file names are taken to mean the standard output: -, 1, or stdout.
The following file names are taken to mean the standard error: 2, or stderr.
This is the most common usage, the intent is to measure disk performance. The disk is a spare partition mounted on /spare.
# mount /spare # lmdd if=internal of=/spare/XXX count=1000 fsync=1 7.81 MB in 3.78 seconds (2.0676 MB/sec) : Flush cache # umount /spare # mount /spare # lmdd if=/spare/XXX of=internal 7.81 MB in 2.83 seconds (2.7611 MB/sec)