Page 1 of 1

Libary-based VFS

Posted: Wed Mar 23, 2022 8:25 pm
by ichigo
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!

Re: Libary-based VFS

Posted: Sat Mar 26, 2022 12:21 pm
by eekee
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.