$ ln src/* dir
$ rm dir/*
If src/ contains a few hundred files, the rm operation takes many minutes. If I open the directory in Finder, I can see the files vanishing one by one. This operation used to be virtually instantaneous in Snow Leopard, but is excruciatingly slow in Lion. If I copy the files instead of hard-linking them, removing them is still instantaneous.
Can anybody tell me what has changed to warrant this slowness?