A simple filesystem to understand things.

This is a Work In Progress. Do not use this yet.

The source files are licensed under Creative Commons Zero License.
More information at:	http://creativecommons.org/publicdomain/zero/1.0/
Full license text at:	http://creativecommons.org/publicdomain/zero/1.0/legalcode

To compile:
------------
install linux kernel sources and run make from the checkedout directory.

To test:
---------

One-time-activity:

linux-okb0:/home/psankar/src/simplefs > dd bs=4096 count=100 if=/dev/zero of=image
linux-okb0:/home/psankar/src/simplefs > mkdir mount

Repeat everytime after making changes to the source:

linux-okb0:/home/psankar/src/simplefs > make
linux-okb0:/home/psankar/src/simplefs > su - ; # switch to root user if not already, or use sudo

# Creating a loop back device and formatting it with our shiny, brand new simplefs

linux-okb0:/home/psankar/src/simplefs # losetup /dev/loop0
losetup: /dev/loop0: No such file or directory
linux-okb0:/home/psankar/src/simplefs # losetup /dev/loop0 image
linux-okb0:/home/psankar/src/simplefs # ./mkfs-simplefs /dev/loop0
Super block written succesfully
linux-okb0:/home/psankar/src/simplefs # losetup -d /dev/loop0
linux-okb0:/home/psankar/src/simplefs # losetup /dev/loop0
losetup: /dev/loop0: No such file or directory
linux-okb0:/home/psankar/src/simplefs #
Description
A simple, kernel-space, on-disk filesystem from the scratch
Readme 158 KiB
Languages
C 92.7%
Shell 6.5%
Makefile 0.8%