OSDev.org

The Place to Start for Operating System Developers
It is currently Thu Apr 25, 2024 9:16 am

All times are UTC - 6 hours




Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: Exokernels: Multiplexing the Disk
PostPosted: Tue Oct 30, 2007 6:04 pm 
Offline
Member
Member

Joined: Wed May 24, 2006 11:00 pm
Posts: 39
This is just a thought, as I'm just working on a bootloader right now (been very busy).

When I was reading about exokernels, I was wondering how you could fully secure storage devices such as hard drives. Enforcing the idea of a file is a large abstraction and doesn't allow full access to the hardware. However, not enforcing this abstraction makes it difficult for applications and users to find their information. Also, without this abstraction how can you prevent applications from over-writing disk blocks that another application thinks they own.

Now, I'm not going to say any of this really makes sense. I'm by no means an expert, and for all I know I could just be spewing nonsense, but it seemed like a pretty valid idea: how do you properly multiplex storage devices?


Top
 Profile  
 
 Post subject:
PostPosted: Tue Oct 30, 2007 7:12 pm 
Offline

Joined: Mon Sep 24, 2007 1:23 pm
Posts: 8
It is a rather difficult problem. You can find one solution in Section 4 of Application Performance and Flexibility on Exokernel Systems. It describes a stable storage multiplexing system called XN, which was used in Xok. It also mentions some other ideas for how to do it, and why they weren't used for Xok.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Oct 31, 2007 10:04 am 
Offline
Member
Member
User avatar

Joined: Wed Oct 18, 2006 2:31 am
Posts: 5964
Location: In a galaxy, far, far away
Clicker isn't an exokernel rather a sort of microkernel, but at some point i thought of doing some disk I.O multiplexing by letting the "filesystem server" resolve your filenames and check your access right and then give the microkernel a list of "sector stripes" that the process is granted to read/write the way it wants.

maybe it could be a starting point here too.

_________________
Image May the source be with you.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Oct 31, 2007 5:59 pm 
Offline
Member
Member

Joined: Thu Aug 30, 2007 9:09 pm
Posts: 102
Yeah, capabilities on disk ought to be done by granting regions of sectors, preferably with the ability to get it all in one piece as that *is* highly relevant with disk I/O. In fact, I would argue that any program's disk regions should be strongly encouraged to be a single linear block.


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

All times are UTC - 6 hours


Who is online

Users browsing this forum: No registered users and 122 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