OSDev.org

The Place to Start for Operating System Developers
It is currently Thu Mar 28, 2024 12:02 pm

All times are UTC - 6 hours




Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: Simple framework for developing filesystems in userspace
PostPosted: Wed Nov 23, 2022 4:59 pm 
Offline

Joined: Mon Aug 15, 2022 12:30 pm
Posts: 18
Hello there.

As I found a lot of trouble porting FatFS to my kernel I decided to create my
own implementation of the filesystems (Fat32 and Ext2) that I plan to support.

For that task, I decided to invest a few days in developing a framework to test
the FS in userspace before running them on the kernel (for sake of my own sanity)

As a way to contribute a bit to this awesome community, I'm posting the code:

https://github.com/TretornESP/FUSED

The aim is to emulate a FatFS-enabled disk driver but supported by a raw file. The development roadmap is:

- Basic primitives (Read, Write, Startup, Status and IOCTL)
- Lazy mode loading for the files (currently it just mmaps it, which is a bad idea for big files)
- Buffer cache emulation (probably just introducing preconfigured delays on a miss, open to ideas)
- SSD Wear emulation (gathering stats)

In case you decide to give it a try, please don't doubt in asking any questions, I will gladly assist you!

Thank you all!


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC - 6 hours


Who is online

Users browsing this forum: Bing [Bot], SemrushBot [Bot] and 83 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group