How to write a Linux Filesystem in 21 days
Steve French (email@example.com)
A Step by Step Introduction to Writing (or Undestanding) a Linux Filesystem. Writing, tuning and debugging Linux filesystems are difficult tasks. The Linux VFS and memory manager layers export complex interfaces to the filesystem which are important for kernel developers and testers to understand.
This tutorial will introduce filesystem concepts in an iterative fashion, as the user constructs a progressively more complex example filesystem. Common filesystem structures and operations on these structures will be described. More advanced optional filesystem operations such as locking, xattrs, change notification, capabilities/permissions, leases and caching will also be described. This tutorial will also introduce the user to basic filesystem debugging techniques. If you have ever wanted to write a filesystem in 45 minutes, this is your chance.