OSDev.org

The Place to Start for Operating System Developers
It is currently Thu Mar 28, 2024 11:10 am

All times are UTC - 6 hours




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Libary-based VFS
PostPosted: Wed Mar 23, 2022 8:25 pm 
Offline

Joined: Wed Mar 23, 2022 8:01 pm
Posts: 2
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!


Top
 Profile  
 
 Post subject: Re: Libary-based VFS
PostPosted: Sat Mar 26, 2022 12:21 pm 
Offline
Member
Member
User avatar

Joined: Mon May 22, 2017 5:56 am
Posts: 812
Location: Hyperspace
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


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC - 6 hours


Who is online

Users browsing this forum: No registered users and 28 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group