On 22-May-08, at 12:44 PM, Joerg Sonnenberger wrote:
find requires iterating the whole filesystem to match up inodes.lsof tries to reconstruct that data from the name cache. If the data is present, it is relatively easy to do. For DragonFly we actually do thatfor fstat by default, simply because it is cheap enough to do that and almost always present.
Ah! Well in that case.... NetBSD might benefit from a patch! :-) -- Greg A. Woods; Planix, Inc. <woods%planix.ca@localhost>