Skip to content

This is a mock implementation of a virtual file system with access protection. A user is able to interact with the system through terminal commands.

Notifications You must be signed in to change notification settings

Khaled-Waled/Virtual-File-System

Repository files navigation

Virtual-File-System

This is a mock implementation of a virtual file system. A user is able to interact with the system through terminal commands.

Actual storage format:

-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-   |
-    512   x                    -   |   Number of blocks / x is allocation|       Metadata section
-    00000100011100000          -   |   Block state (full / empty)        |     < ======
-                               -   |
-                               -   |
-    root 3                     -   |   <=== Directory Head               |
-    1 file1 100 6              -   |   <=== Start of entries
-    1 file2 55 20              -   |
-    1 file3 23 54              -   |
-    0 newFolder 23             -   |   <=== Folder entry
-                               -   |                               |       Data section
-                               -   |                               |           ||
-                               -   |                               |   < ========
-                               -   |
-                               -   |
-                               -   |
-                               -   |
-   newFolder 0                 -   |
-                               -   |
-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-   |    

About

This is a mock implementation of a virtual file system with access protection. A user is able to interact with the system through terminal commands.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages