Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: lsof




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 that
for 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>



Home | Main Index | Thread Index | Old Index