Implementing A Disk-Based File-System - Summary
- Use the generic VFS functions whenever possible.
- Implement things in small steps.
- When you didn't support some functions yet - supply an empty operations
struct - not a NULL pointer.
- When updating a buffer_head or an inode - mark it as dirty!
- Whenever you change an inode - update the relevant times - no one
will do that for you.
- Updating VFS objects is decoupled from updating disk objects.
Originally written by
guy keren