File Descriptor release?

Yoshiki Ohshima yoshiki at squeakland.org
Fri Oct 13 20:51:06 UTC 2006


  Ian,

> The unix vm caches the last open directory to speed up directory
> searches.  (Because of the way the image searches directories, this
> caching results in linear time instead of exponential with the size of
> the directory.)  If you change away from /mnt in the file list you
> should be able to umount from the terminal.  If not, ignore this
> entire message. ;-)

  Ah, now I check maybeOpenDir().

  So, since the speed up is indispensable, probably Squeak-level code
should visit the defaultDirectory. to flush the cache on some
occasions?

-- Yoshiki



More information about the Squeak-dev mailing list