On Tue, Apr 10, 2007 at 07:12:27PM +0200, Adriano Verardo wrote: >The log of the two sessions above are in the the attached files. >I see that the FreeBDS "lc" command allocates a lot of Fids while >Plan9 reuse them issuing Tclunk messages as soon as possible. There's more to it than that. Unfortunately, p9p's ls calls p9p's readdir. Since readdir on Plan 9 has to return a complete Stat for each file in a directory, p9p's readdir stats every file in the directory, whether the caller needs the data or not (ls doesn't, without the ls flag). That means that the p9p lc needs to walk to each directory entry, whereas Plan 9's doesn't. -- Kris Maglione Things equal to nothing else are equal to each other.