CST 334 - Operating Systems - Week 7
This week, we learned about file systems, which are critical for managing persistent data storage in operating systems. Most of this week’s readings focused on the concept of persistence, which ensures that data remains available and consistent even after power failures or system crashes. We learned about various types of file systems, their structures, and how they manage data. An important part to remember was the role of inodes in storing metadata and how directories function to map human readable file names to these inodes. This structure not only organizes data efficiently but also facilitates easy retrieval and management. Additionally, we discussed advanced file operations such as handling file offsets with `lseek()` and ensuring data integrity with `fsync()`, which are vital for maintaining consistency and reliability in a file system. We also covered the implementation aspects of file systems, using the Very Simple File System (vsfs) as a model. This included understandi...