Who knew creating a filesystem was difficult?
It turns out that trying to create your own filesystem is a bit more difficult than one might expect. I have been nose-deep in various documentation about filesystem theory and the layouts of various popular filesystems for a little over a week. (Okay, okay, so most of it begins with “http://en.wikipedia.org/wiki/...", but still–lots of good information out there.)
Things I have learned, after the break.