Hmm...
This might be easier to code up. It wouldn't be as fast. However,
you have to start somewhere.
For a while, I had a directory entry in a umsdos directory where it
took 2.5 seconds for readdir() to complete on one particular directory
entry. This compared to about 0.3 seconds for the *following*
directory entry. This implies that over two seconds were wasted in
the EMD file on that one particular entry.
[This was a /dev directory where echo * took over a minute to
complete.]
-- Raul