[TxMt] Re: inode caching
Allan Odgaard
mailinglist at textmate.org
Sun Mar 5 04:05:15 UTC 2017
On 9 Feb 2017, at 4:16, Carpii UK wrote:
> I'm hoping a TM dev could point me in the right direction of where
> TM's
> inode caching takes place please?
>
> I'm struggling to find it, but I think it might be one of the sources
> of my
> issues using TM on a mounted remote filesystem
There isn’t any inode caching per se, however, when opening a file,
TextMate will check if you already have that file open, and this check
does involve looking at inodes.
So a possible explanation for your issue _could_ be that your virtual
file system reuses inodes, and that you open a file that uses an inode
of something you previously opened (but which had a different path), and
is still open somehow, e.g. in a background tab.
Perhaps you can ask the creators of the virtual file system that you are
using, how they deal with inodes, i.e. if there is a high chance of
inode re-use. If they say no, my theory is invalid, but if they say yes,
then perhaps there is something to it.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macromates.com/textmate/attachments/20170305/b05c85ff/attachment.html>
More information about the textmate
mailing list