PPT Slide
File System Implementation
- Notice how use of the VM system’s page tables allows for copy avoiding (Fig. 16.19).
- File system directory implementation:
- Maps component names to file descriptors.
- Sometimes the FDs are in the directory, other times the directory contains pointers to the FDs elsewhere.
- Name/path resolution algorithm: Figure 16.20.
- Notice that typically directories are implemented as files.
- UNIX: directory contains name to inode number mappings; the inode (information node) is the UNIX term for a file descriptor and it contains the metadata of the file. Try “od -cx dirname” and “ls -i” on UNIX.
- Skip section 16.6 (Example File System Implementation).