Home » Projects » LynxFS

LynxFS - a LynxOS Filesystem Driver

Introduction

This is a LynxOS filesystem driver based on FUSE. This driver mounts a LynxOS filesystem as a loopback. It is a bit lazily written, it loads the entire filesystem image into RAM and operates on the image in memory. Since LynxOS is an embedded operating system, this should be good enough, since most images will be small.

Why is it?

I don't really know. I had no particular reason for writing it. I have no use for it. I've never used LynxOS, and I don't plan to. I think I just did it just to prove that I could.

Download

Implementation notes

This filesystem driver was written using the excellent guide to practical file system design which, although written with reference to the Be file system, describes enough of the BSD FFS structure to be applicable to LynxFS, which is nearly identical.

I'm pretty sure the driver works fine. It's read-only. I could probably implement read-write support, but I don't think I would find it interesting. Patches welcome, of course. If it doesn't work for you, please email me, and I'll fix it, there are naturally a number of things I'm not too sure about.

The driver was implemented entirely by intelligent guesswork. I don't have any way of creating LynxOS filesystems, so I can't do any extended testing. However, with all that, I'm pretty sure the code works, and will be fine.

I work for a data recovery company and ...

I get email about every 3 months, which reads, "OH HALP, TEH S**T IS IN TEH FAN, CAN UR DRIVER HALP US???!!" and following emails explain that the author doesn't know Linux or C, and apparently can't read documentation. Many of these authors apparently work for data recovery companies. If this is you, please learn Linux, learn C, or mail a cheque. Any of the above will make you easier to help. If you're trying to resell my free help to your paying customer, skip the first two options and just mail a cheque.