Skip to content

Commit 9a44a32

Browse files
committed
Proofread
1 parent d0fa94b commit 9a44a32

File tree

1 file changed

+12
-4
lines changed

1 file changed

+12
-4
lines changed

README.md

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,17 @@
11
# simplefs - a simple file system for Linux
22

3-
The file system "simplefs" is helpful to understand Linux VFS and file system basics.
4-
The Linux VFS supports multiple file systems. The kernel does most of the work while the file system specific tasks are delegated to the individual file systems through the handlers. Instead of calling the functions directly the kernel uses various Operation Tables, which are a collection of handlers for each operation (these are actually structures of function pointers for each handlers/callbacks).
5-
6-
The super block operations are set at the time of mounting. The operation tables for inodes and files are set when the inode is opened. The first step before opening an inode is lookup. The inode of a file is looked up by calling the lookup handler of the parent inode.
3+
The file system "simplefs" serves as a helpful tool for understanding the basics
4+
of the Linux Virtual File System (VFS) and fs basics. Linux VFS accommodates
5+
multiple file systems, with the kernel handling the bulk of the operations while
6+
delegating file system-specific tasks to individual file systems via handlers.
7+
Instead of directly invoking functions, the kernel employs various operation
8+
tables. These tables are collections of handlers for each operation, essentially
9+
structures comprised of function pointers for handlers/callbacks.
10+
11+
Super block operations are established at the time of mounting. The operation
12+
tables for inodes and files are set when the inode is accessed. The initial step
13+
before accessing an inode involves a lookup process. The inode for a file is
14+
identified by invoking the lookup handler of the parent inode.
715

816
## Current features
917

0 commit comments

Comments
 (0)