Welcome, Guest. Please login or register.

Author Topic: Simplest filesystem with source available?  (Read 6354 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline chris

Re: Simplest filesystem with source available?
« on: June 11, 2012, 08:46:45 PM »
Quote from: NorthWay;695769
That was kinda my hope. Something I have half a handle on.

I just want to try an idea I have been waiting for someone else to implement, but which has never happened. The FS and Amiga interface should to be as simple and clean as possible to make it easy to make changes and try it out.

The FS can be as rudimentary as you like as long as I can read and write files to the mounted volume.


If you're looking for Amiga filesystem code (as in, a filesystem module that AmigaOS can use, rather than code for a Amiga filesystem that works on anything), then empty-handler might be worth checking out.  It's a handler rather than a real filesystem, but the principles are the same. It also only supports reading, but it's pretty easy to add writing once you see how to read (as it's mostly the same). http://aminet.net/package/dev/c/emptyhandler

When you understand that, compare it to real filesystem source code to see how to link to a device/partition.

You will also need a copy of the AmigaDOS packet interface specification otherwise you will get nowhere.  I find the AmigaMail document on the DevCD 2.1 to be a good (albeit old) reference.
"Miracles we do at once, the impossible takes a little longer" - AJS on Hyperion
Avatar picture is Tabitha by Eric W Schwartz