Filer 'Find file' problem
Chris Bell (2330) 2 posts |
I use OS 5.21 on a PandaRO / ARMiniX computer. Searching for a file in ‘!Boot’ opens and, more to the point, leaves open, dozens of files of filetype ‘StrHelp’ (inside Manuals.Root). Chris Bell. |
Steve Fryatt (216) 2105 posts |
It will do. It will also leave open Zip files if you have SparkFS loaded, search everything on any saved NFS mounts if you use Sunfish, and similar for any other image filing system you care to mention. There appears to be no way for a recursive search utility (or anything else) to inform such systems that it’s finished with the contents of an image file, and so the files generally stay open. One option, if you don’t wish to search in any image filing systems, is to use Locate and tick the “Ignore ImageFS’s contents” option. This was added for precisely this reason. |
Chris Bell (2330) 2 posts |
Thanks Steve. Further investigation shows that Zip files do close again, after about 4 secs. StrHelp files close more slowly, just one every 4 secs. Anyway, the situation does resolve itself, albeit rather slowly. I ran into this feature as an error when the ‘number of open files’ limit was reached whilst searching for a file. By the way, I use your Locate regularly and wouldn’t be without it – thank you! (Although I wish type ‘applications’ and ‘directories’ weren’t selected by default – a pain whenever the object name is left blank, which it usually is!) Chris. |