You are not logged in.
Pages: 1
Hi,
I want to write a block device driver in user mode so that the read and write calls from the FileSystem comes to user mode component than a regular kernel mode driver.
why i want to do this ... because I want to pass on the data coming to another apps and the data is near real time and large. So, I can't keep the block driver in kernel mode and do transfer of data from kernel mode to user mode.
Can this be done ... ? I have been looking at various things but nothing comes close. Any hints will be helpful.
Thanks
Tarrot .
Offline
if you want to pass data between apps in near real time, couldnt you just stream it directly (ie, in ram) and avoid writing to disk alltogether?
more specific details would help, your question is still very vague.
Offline
Ok. This is what I want to do...
User Apps1
|
EXT3
|
User mode Block Driver
|
User APPs2
UserAPPs2 fakes and creates a disk. User mode Block driver would be the driver for the virtual disk. UserAPPs1 mounts the disk using ext3. My Problem is the block driver which still has to be user mode to really talk to UserAPPs2.
Any hints will help ...
Offline
Describe the problem as well as your solution to the problem. It shouldn't be this complicated just to send data between two applications.
Offline
Well. The 2 user apps cannot talk directly as User APPs2 only understands block I/O requests as input so it has to have a FS over it which is ext3. User APPs1 is an application that runs over FS and writes to it like windows explorer.
The Problem is I am not able to find a way to write a user mode block driver. Why I want this to be user mode so that I can interface to Virtual disk below which is a user mode application, i.e. User Apps2.
I can write a kernel mode block driver there but it would not be efficient as I will have to push it from kernel mode to user mode for userapps2.
I hope it explains....
Offline
Pages: 1