SLIDE 36 36
71
NFS Implementation
– Open, read, close, etc.
- Virtual File System Layer
– Maintain table of open files, using v-nodes – v-node may point to a standard i- node or to an NFS Client r-node.
– On mount, create r-node for NFS directory. – On open, issue lookup and create r- node. – Transfers in 8KB chunks. – Client does read-ahead. – Client caching used for efficiency
- Block discarded after 3 sec for
data and 30 sec. for directories.
- Writes synced after 30 seconds.
72
Example File Systems
CD-ROM File Systems
– Designed for lowest common denominator in 1988 (i.e., msdos). – Header contains 16 bytes that are up for grabs (e.g., bootstrap block) – Multi-byte numeric field in directories are presented twice,
- nce in big endian and once in
little endian. – File names were 8.3 + version
- Rock Ridge extension allowed
various Unix features, such as
– file protections, – longer names, – more time stamps, – arbitrary depth hierarchies
- Joliet extension (from Microsoft)
added unicode.