Hello OSdevers!
I have a question, and I hope some of you would be able to answer it. How does libary-based VFS is implemented on-top of a Microkernel? It would really be a neat idea to reduce the communication overhead compared to when VFS is implemented as a server. In the case of a server-based VFS, user process --> vfs server --> fs server (e.g., ext2) --> disk driver. How can a library-based VFS lookup a path and know which FS server it needs to message? Any information/references about library-based VFS implementation would be appreciated.
Thank you!
Libary-based VFS
Re: Libary-based VFS
Uh, I can't say I know how this is done, but the first thing that comes to mind is a registry mapping paths to file servers; a mount registry. I'd consider the case of the registry changing between a user program looking up and connecting to a FS server. It might be fine because mounting and unmounting should always be done with some care.
Kaph — a modular OS intended to be easy and fun to administer and code for.
"May wisdom, fun, and the greater good shine forth in all your work." — Leo Brodie
"May wisdom, fun, and the greater good shine forth in all your work." — Leo Brodie