Re: Are objects cached twice (not symlinked) in lasttime and http ?
Micha <[email protected]> Fri, 8 Dec 2006 11:36:41 +0100
| Newsgroups | gmane.network.wwwoffle.user |
|---|---|
| Message-ID | <[email protected]> |
> I don't understand this part of the question. My fault. I once knew how it works but just didn't look into the internals for such a long time that i actually forgot! Sorry. > No, the files in lasttime and http directories are not cached twice. > Each one is a filesystem hardlink to the other one good idea :) I was thinking about switching a symlinked lasttime on-the-fly within a session. However the whole cache is on a separate partition here. I hope it's still not creating problems if i stay within the same filesystem. Just curious: Does anybody know if there's a shell command to get all hardlinks (full pathes) of a given file directly from the inode table (or whatever) ? 'find -samefile' seems to just search through the tree, starting from a defined root point, which is not so handy with about 1300 domains cached. There should be something faster than that ? This is ext3.