I have read all the documentation related to the File System Service (FSS)
"back and forth", but there are still some questions remaining that prevent
me from getting started.
What I want to do: I want to use the FSS to handle files on USB sticks and
SD cards attached to my (proprietary BF548 system). Moreover I have implemented
a yaffs2 file-system on my internal NAND flash.
Now - while I would be able to copy stuff for USB and SD from the examples -
I don't see, how I can attach the yaffs2 implementation to FSS. Do I have to
write a PID or a FSD driver layer above yaffs? Or is it nonsense at all to use
FSS to access yaffs?
Can someone give me a starting point for that?
Moreover I don't understand, how PID and FSD drivers get together? In other
words, how does FSS know, which FSD driver uses which PID driver?
Another question: FSD docu says, that each FSD entry represents a volume.
However, examples show, that you can have one FSD entry and several PID
entries (e.g. the shell_browser example). So actually only the FSD using one
of the PIDs, which in turn must poll for a medium, can turn into a mounted volume.
Is this right?
I would be very happy, if someone could unveil the basic secrets...