Quantcast
Channel: openSUSE Planet - Global
Viewing all articles
Browse latest Browse all 23308

Sankar P: Introducing simplefs - A ridiculously simple filesystem

$
0
0
In the last few days I have been trying to implement a filesystem from the scratch. It has reached a level of maturity where I can release it to the public without feeling too embarrassed about the quality of the work. Here you go, simplefs. It is meant to be used as a tool for for teaching filesystem basics and not for production use.

I recently released the version 1.0 of the filesystem with support for:
  • Creation of files and nested directories
  • Enumerating files in a directory
  • Reading of files
  • Writing of files
In the next release, I plan to implement support for extents and in the next release to that the support for journaling. Your comments, feedback etc. are welcome.

I wish I have implemented a filesystem from the scratch a long time ago, may be during my college days. This activity gives you a good test bed for evaluating almost all aspects of your computer science knowledge, like, Operating systems, Data structures, Algorithms, Locking semantics (granularity, ordering etc.), Cache coherency, Programming expertise, Cost hierarchy (read-time across memory, disk etc.) etc. If you are interested in being a programmer for a long time, you should definitely try implementing (or at least designing) a filesystem from the scratch. In a world (or the Indian IT sector may be) where a programmer's role is getting restricted to being a [javascript] library plumber, such designing + programming tasks will give you the N-Ach satisfaction.

Viewing all articles
Browse latest Browse all 23308


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>