You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+12-4Lines changed: 12 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,9 +1,17 @@
1
1
# simplefs - a simple file system for Linux
2
2
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.
0 commit comments