Link Search Menu Expand Document

Due by 11:59 PM on Sunday, Nov 22

Changelog

  • November 21, 2020: Part II release
  • November 21, 2020: Add clarifications about layout
  • November 08, 2020: Initial version

MEMEfs Viewer

We have created a tool that will hopefully help you with the development of your file system driver. This tool will attempt to open a given file as a MEMEfs image and give you information on what is there. It will give you information on the superblocks, the FATs and the directory. If the image is updated, the viewer will automatically reload it.

You can load .meme, .img and .bin files into the viewer. There is also an ‘all files’ option if you want to use some other extension

There are two views for the directory, one showing you each group of 32bytes in a row, and one providing an output very similar to what ls -la generates.

There is also an interactive view of the FATs. You can click on an entry or put the entry number in the input box. This will highlight the entry and tell you the number. The highlighted entry will be a redish colour. If the entry points to another entry in the table the pointed entry will have a greenish colour. I’ve tried to use colour blind friendly colours, please let me know if there is an issue with that. The FAT view will be extremely helpful in understanding how the FAT works, and in trying to follow it.

The viewer will never show you the contents of a file inside the image. Also it will not support editing the image in any way. It will also never interact with your driver in any way.

Downloads

There is an executable for all 3 major platforms. You just have to load the image into it.

  • Windows x64: memefs-viewer 1.0.5.exe

  • Linux x64: memefs-viewer-1.0.5.AppImage you might have to to give it executable permissions. If you are seeing errors when running it you can try adding the --no-sandbox flag.

  • macOS: memefs-viewer-1.0.5.dmg After you have installed it to your applications you can start it from your TERMINAL with /Applications/memefs-viewer.app/Contents/MacOS/memefs-viewer. Double clicking it will not work.