Hey, I'm not sure what exactly you want to do, but if you want to make a custom file system, try Fuse.... It basically mounts a dummy fs and intercepts calls like readdir, open etc and forward them to your program where your program can handle them.
I'm not sure if it's Linux only (it probably is) but npm seems to have few packages which provides binding for it...maybe it'll be useful for what you want to do :)
How’s it going, I'm a Adam, a Full-Stack Engineer, actively searching for work. I'm all about JavaScript. And Frontend but don't let that fool you - I've also got some serious Backend skills.
Location
City of Bath, UK 🇬🇧
Education
10 plus years* active enterprise development experience and a Fine art degree 🎨
Fuse was mentioned in the post, although it's nice to know thier are bindings, the post explains the motivation to write a filesystem with no purpose except to provide others with the skeleton to make it do stuff. Example you could take this approximation of a filesystem, extend it and maybe for your case, use Fuse to mount it.
For another use case, take the file system and extend it to do unit testing or something.
Hey , so sorry for the misread! I kind of went quickly through list and lost the fuse point 😅 😅
It seems a really nice idea to make a tool for writing other tools 😀
How’s it going, I'm a Adam, a Full-Stack Engineer, actively searching for work. I'm all about JavaScript. And Frontend but don't let that fool you - I've also got some serious Backend skills.
Location
City of Bath, UK 🇬🇧
Education
10 plus years* active enterprise development experience and a Fine art degree 🎨
Hey, I'm not sure what exactly you want to do, but if you want to make a custom file system, try Fuse.... It basically mounts a dummy fs and intercepts calls like readdir, open etc and forward them to your program where your program can handle them.
I'm not sure if it's Linux only (it probably is) but npm seems to have few packages which provides binding for it...maybe it'll be useful for what you want to do :)
Fuse was mentioned in the post, although it's nice to know thier are bindings, the post explains the motivation to write a filesystem with no purpose except to provide others with the skeleton to make it do stuff. Example you could take this approximation of a filesystem, extend it and maybe for your case, use Fuse to mount it.
For another use case, take the file system and extend it to do unit testing or something.
The point is it's a tool for writing other tools
Hey , so sorry for the misread! I kind of went quickly through list and lost the fuse point 😅 😅
It seems a really nice idea to make a tool for writing other tools 😀
Thank you, I think this tool for other tools reduces the scope and responsibilities, making a release more manageable 👍