Are direcotories saved in the page cache?
I understand that the dentry cache holds directory structure, and when a file that is not in the dentry cache is accessed, the directory structure is read from disk.
Since directories are just special files, does the kernel first tries to read them from the page cache before reading from disk?
For example, if I access /home/foo/bar, then clear the dentry cache, and then access it again, will the directory structure be read from disk or from the page cache?
|