Question: Suppose all file system caches ( e . g . , block cache, inode cache, etc. ) are cleared and all files in this file

Suppose all file system caches (e.g., block cache, inode cache, etc.) are cleared and all files in this file system only contain one data block, but that repeated accesses will hit in associated caches and will not cause an 10 operation.
i) If "/foo/bar" is a symbolic (soft) link to "/baz/garply", how many IOs will be triggered during the system call `open(/foo/bar, O_RDONLY)?
ii) How would this answer differ if "/foo/bar was a hardlink?

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!