Skip to contentSkip to conversation

RAW I/O

DISCUSSION Kernel The 1 participant 1 message Jun 29, 2004

lore
Share & tools
lore

Kernel The

author
#0 lore raw

Hi,

I have written a RAM disk driver and I want to write the data to a backup disk/partition while unloading the driver.

I want to do RAW I/O to a disk/partition from my ram disk driver. How I can achieve this?

alloc_kiovec(..), map_user_kiobuf(...) and brw_kiovec(...) functions can be used for this? But these function map user space into kernel space memory, but in my driver I will be having only kernel space memory.

Thanks in advance!
Erforschen

__________________________________
Do you Yahoo!?
New and Improved Yahoo! Mail - Send 10MB messages!
http://promotions.yahoo.com/new_mail