I need some pointers to creating pseudo file systems for linux / * nix systems.
Firstly, when I say pseudo file system, I mean something like / proc, where the actual files on the disks or such, but the state of the kernel, are not displayed inside the structure. I would like to try something similar to the application interface.
As an example, you can connect ftp-url to your file system, and your browser application can allow you to interact with the remote system running ls and others and translate standard file system requests into ftp files.
So, the first question: how to do this? I read a little about this, and it looks like you need to implement a new kernel module. If possible, I would like to avoid this - I thought that someone might have already provided a tool for this kind of thing and provided a module to help already.
My second question is: does anyone have a good list of sample applications / services / no matter what method is used to provide the file system based interface.
Finally, if anyone has any opinions on why it might be a good / bad idea to do such a thing at a general level, I would like to hear it.
linux unix filesystems
cyborg
source share